diff options
author | jperkin <jperkin@pkgsrc.org> | 2017-04-20 12:56:47 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2017-04-20 12:56:47 +0000 |
commit | 99e67de8bd95496ae79cdef402e26eceb43b5936 (patch) | |
tree | 146c27eff58770d1be64bf8d25e4f2e24f82a94c /lang | |
parent | b6d0cd9f2d6629f2c72cc546b080bac049102c86 (diff) | |
download | pkgsrc-99e67de8bd95496ae79cdef402e26eceb43b5936.tar.gz |
Exclude some bogus symbols from the mapfile on SunOS. It may be that
this is appropriate for all platforms, in which case it can be changed
to be a patch instead.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/llvm/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/llvm/Makefile b/lang/llvm/Makefile index 6ebab1e8258..dbd980edf5d 100644 --- a/lang/llvm/Makefile +++ b/lang/llvm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2017/03/19 19:01:48 adam Exp $ +# $NetBSD: Makefile,v 1.17 2017/04/20 12:56:47 jperkin Exp $ # # when updating this, please also update: # devel/include-what-you-use @@ -84,6 +84,13 @@ REPLACE_PYTHON+= utils/wciia.py TEST_TARGET= check TEST_ENV+= LD_LIBRARY_PATH=${WRKDIR}/build/lib +# It may be that the Solaris linker is more strict here and they can be removed on +# all platforms. Change this to a patch if verified. +SUBST_CLASSES.SunOS+= lto +SUBST_STAGE.lto= pre-configure +SUBST_FILES.lto= tools/lto/lto.exports +SUBST_SED.lto= -e '/^LLVM/d' + .include "../../mk/bsd.prefs.mk" PLIST_VARS+= notdylib |