diff options
-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 |