pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2017Q1]: pkgsrc/lang/llvm Pullup ticket #5336 - requested by s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/28d9dcda70eb
branches:  pkgsrc-2017Q1
changeset: 360321:28d9dcda70eb
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Mon May 01 08:31:17 2017 +0000

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

diffstat:

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

diffs (23 lines):

diff -r 945b91f8d18d -r 28d9dcda70eb lang/llvm/Makefile
--- a/lang/llvm/Makefile        Mon May 01 08:29:56 2017 +0000
+++ b/lang/llvm/Makefile        Mon May 01 08:31:17 2017 +0000
@@ -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 @@
 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