diff options
author | jperkin <jperkin> | 2016-03-07 16:27:47 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2016-03-07 16:27:47 +0000 |
commit | 2f7e0647cfe38e06731392a6890fe894e36cfe36 (patch) | |
tree | 2db8ec958bb7c02556e277cc4240e523da677fa0 /lang | |
parent | 6644ff3549ca710e1e35d5a71cf9253dbb96940e (diff) | |
download | pkgsrc-2f7e0647cfe38e06731392a6890fe894e36cfe36.tar.gz |
Do not use "-z discard-unused" linker flags on SunOS, it is only supported
by the very latest Oracle Solaris release.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/clang/distinfo | 4 | ||||
-rw-r--r-- | lang/clang/patches/patch-ac | 20 |
2 files changed, 17 insertions, 7 deletions
diff --git a/lang/clang/distinfo b/lang/clang/distinfo index b0b03045c37..922de268531 100644 --- a/lang/clang/distinfo +++ b/lang/clang/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.39 2016/01/11 19:16:08 ryoon Exp $ +$NetBSD: distinfo,v 1.40 2016/03/07 16:27:47 jperkin Exp $ SHA1 (cfe-3.7.1.src.tar.xz) = 15475a2c1e750a13755812785a4796cf4d9fa4c2 RMD160 (cfe-3.7.1.src.tar.xz) = 185b0f75970bc50682766a21794440578db87b5d @@ -17,7 +17,7 @@ RMD160 (llvm-3.7.1.src.tar.xz) = 677e652107e53ec1edeccaf479eff186a9f4c7d6 SHA512 (llvm-3.7.1.src.tar.xz) = ac521debc02f6deba96ef975d6a546b0c5c77299c1dbf5e1b87a7974ff5e7fd715bd7e384b92d9adf572ce47130bdbf6d3c648eb0d7f72f16f976292e4909e90 Size (llvm-3.7.1.src.tar.xz) = 14592544 bytes SHA1 (patch-ab) = c5e3acb30f824e35fbe60efa72bcaa8303d84450 -SHA1 (patch-ac) = 30406cda5a0d04d738e4807e10f3a5a62d399e2b +SHA1 (patch-ac) = 4f947ac8d81b739ad10e541cef6451ffb039c26f SHA1 (patch-ad) = 143c01e05aad86ebee7ba55ce69bf46a491bd7cf SHA1 (patch-configure) = 5c9974c9077084fdf1dcbe0973280df824f5d0e1 SHA1 (patch-include_llvm_Support_Host.h) = 545f9542cd2aaa6cea58d3653902b4e1a9e7189a diff --git a/lang/clang/patches/patch-ac b/lang/clang/patches/patch-ac index 732fe036a84..f37de5cba69 100644 --- a/lang/clang/patches/patch-ac +++ b/lang/clang/patches/patch-ac @@ -1,11 +1,21 @@ -$NetBSD: patch-ac,v 1.10 2015/12/29 23:34:45 dholland Exp $ +$NetBSD: patch-ac,v 1.11 2016/03/07 16:27:47 jperkin Exp $ Fix handling of installation directories. Install static libs with the right permissions. +Don't use non-portable -z discard-unused on SunOS. ---- Makefile.rules.orig 2013-11-14 23:51:29.000000000 +0000 +--- Makefile.rules.orig 2015-03-03 20:54:29.000000000 +0000 +++ Makefile.rules -@@ -808,9 +808,6 @@ endif +@@ -641,7 +641,7 @@ ifndef NO_DEAD_STRIP + ifeq ($(HOST_OS),Darwin) + LD.Flags += -Wl,-dead_strip + else +- ifeq ($(HOST_OS),SunOS) ++ ifeq ($(HOST_OS),notSunOS) + LD.Flags += -Wl,-z -Wl,discard-unused=sections + else + ifneq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW)) +@@ -847,9 +847,6 @@ endif # in the file so they get built before dependencies #--------------------------------------------------------- @@ -15,7 +25,7 @@ Install static libs with the right permissions. # To create other directories, as needed, and timestamp their creation %/.dir: $(Verb) $(MKDIR) $* > /dev/null -@@ -954,7 +951,9 @@ install-local:: +@@ -993,7 +990,9 @@ install-local:: uninstall-local:: $(Echo) UnInstall circumvented with NO_INSTALL else @@ -26,7 +36,7 @@ Install static libs with the right permissions. $(Echo) Installing Configuration Files To $(DESTDIR)$(PROJ_etcdir) $(Verb)for file in $(CONFIG_FILES); do \ if test -f $(PROJ_OBJ_DIR)/$${file} ; then \ -@@ -1248,7 +1247,7 @@ install-local:: $(DestArchiveLib) +@@ -1305,7 +1304,7 @@ install-local:: $(DestArchiveLib) $(DestArchiveLib): $(LibName.A) $(DESTDIR)$(PROJ_libdir) $(Echo) Installing $(BuildMode) Archive Library $(DestArchiveLib) $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_libdir) |