Tue Dec 18 15:23:07 2018 UTC ()
icu: Revert -fno-addrsig for Clang

This should be handled in a different place.
The addrsig property breaks GNU strip(1) in a cryptic way, creating
misparsable ELF file.


(kamil)
diff -r1.119 -r1.120 pkgsrc/textproc/icu/Makefile

cvs diff -r1.119 -r1.120 pkgsrc/textproc/icu/Makefile (expand / switch to context diff)
--- pkgsrc/textproc/icu/Makefile 2018/12/18 06:14:08 1.119
+++ pkgsrc/textproc/icu/Makefile 2018/12/18 15:23:07 1.120
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.119 2018/12/18 06:14:08 kamil Exp $
+# $NetBSD: Makefile,v 1.120 2018/12/18 15:23:07 kamil Exp $
 
 DISTNAME=	icu4c-63_1-src
 PKGNAME=	${DISTNAME:S/4c//:S/-src//:S/_/./g}
@@ -128,14 +128,6 @@
 SUBST_SED.icu-config+=	-e '/^ICUUC_FILE=/ s/libdir/bindir/'
 SUBST_SED.icu-config+=	-e 's/l$${LIBICU}/l$${ICUPREFIX}/g'
 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"