pkgsrc-Changes archive

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

CVS commit: [pkgsrc-2017Q1] pkgsrc/lang/llvm



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Mon May  1 08:31:17 UTC 2017

Modified Files:
        pkgsrc/lang/llvm [pkgsrc-2017Q1]: Makefile

Log Message:
Pullup ticket #5336 - requested by sevan
lang/llvm: build fix for SunOS

Revisions pulled up:
- lang/llvm/Makefile                                            1.17

---
   Module Name:    pkgsrc
   Committed By:   jperkin
   Date:           Thu Apr 20 12:56:47 UTC 2017

   Modified Files:
           pkgsrc/lang/llvm: Makefile

   Log Message:
   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.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.16.2.1 pkgsrc/lang/llvm/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/llvm/Makefile
diff -u pkgsrc/lang/llvm/Makefile:1.16 pkgsrc/lang/llvm/Makefile:1.16.2.1
--- pkgsrc/lang/llvm/Makefile:1.16      Sun Mar 19 19:01:48 2017
+++ pkgsrc/lang/llvm/Makefile   Mon May  1 08:31:17 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2017/03/19 19:01:48 adam Exp $
+# $NetBSD: Makefile,v 1.16.2.1 2017/05/01 08:31:17 bsiegert 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



Home | Main Index | Thread Index | Old Index