pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/llvm Exclude some bogus symbols from the mapfile ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c9acd2864d6e
branches:  trunk
changeset: 361377:c9acd2864d6e
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Apr 20 12:56:47 2017 +0000

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

 lang/llvm/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 5e6b1822d3e6 -r c9acd2864d6e lang/llvm/Makefile
--- a/lang/llvm/Makefile        Thu Apr 20 10:46:09 2017 +0000
+++ b/lang/llvm/Makefile        Thu Apr 20 12:56:47 2017 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index