pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/icu icu: Revert -fno-addrsig for Clang



details:   https://anonhg.NetBSD.org/pkgsrc/rev/73a56aae188a
branches:  trunk
changeset: 389049:73a56aae188a
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Tue Dec 18 15:23:07 2018 +0000

description:
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.

diffstat:

 textproc/icu/Makefile |  10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diffs (22 lines):

diff -r e7aaee30bbdd -r 73a56aae188a textproc/icu/Makefile
--- a/textproc/icu/Makefile     Tue Dec 18 14:16:17 2018 +0000
+++ b/textproc/icu/Makefile     Tue Dec 18 15:23:07 2018 +0000
@@ -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}
@@ -130,12 +130,4 @@
 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