pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/icu



Module Name:    pkgsrc
Committed By:   kamil
Date:           Tue Dec 18 06:14:08 UTC 2018

Modified Files:
        pkgsrc/textproc/icu: Makefile

Log Message:
icu: Append -fno-addrsig in clang build

The -faddrsig option (enabled by default) generates executables that are
not compatible with GNU strip(1).


To generate a diff of this commit:
cvs rdiff -u -r1.118 -r1.119 pkgsrc/textproc/icu/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/icu/Makefile
diff -u pkgsrc/textproc/icu/Makefile:1.118 pkgsrc/textproc/icu/Makefile:1.119
--- pkgsrc/textproc/icu/Makefile:1.118  Tue Dec 11 10:15:55 2018
+++ pkgsrc/textproc/icu/Makefile        Tue Dec 18 06:14:08 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.118 2018/12/11 10:15:55 abs Exp $
+# $NetBSD: Makefile,v 1.119 2018/12/18 06:14:08 kamil Exp $
 
 DISTNAME=      icu4c-63_1-src
 PKGNAME=       ${DISTNAME:S/4c//:S/-src//:S/_/./g}
@@ -130,4 +130,12 @@ SUBST_SED.icu-config+=     -e 's/l$${LIBICU}
 SUBST_SED.icu-config+= -e '/l$${ICUPREFIX}/ s/$${ICULIBSUFFIX_VERSION}//g'
 .endif
 
+.if !empty(PKGSRC_COMPILER:Mclang)
+# The -faddrsig flag does not make libraries compatible with GNU strip(1)
+CWRAPPERS_APPEND.cxx+= -fno-addrsig
+CWRAPPERS_APPEND.cc+=  -fno-addrsig
+_WRAP_EXTRA_ARGS.CXX+= -fno-addrsig
+_WRAP_EXTRA_ARGS.CC+=  -fno-addrsig
+.endif
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index