pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/gcc6 Remove the whitespace between $(LINKER_RPATH...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/db5d9a100293
branches:  trunk
changeset: 353220:db5d9a100293
user:      sevan <sevan%pkgsrc.org@localhost>
date:      Fri Sep 30 17:17:37 2016 +0000

description:
Remove the whitespace between $(LINKER_RPATH_FLAG) and the path.
Otherwise the flag may be misinterpreted by linker (e.g. Apple's ld).

diffstat:

 lang/gcc6/distinfo                      |  4 ++--
 lang/gcc6/patches/patch-gcc_Makefile.in |  8 +++++---
 2 files changed, 7 insertions(+), 5 deletions(-)

diffs (42 lines):

diff -r 88dabc984876 -r db5d9a100293 lang/gcc6/distinfo
--- a/lang/gcc6/distinfo        Fri Sep 30 16:50:43 2016 +0000
+++ b/lang/gcc6/distinfo        Fri Sep 30 17:17:37 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2016/09/28 17:13:16 maya Exp $
+$NetBSD: distinfo,v 1.4 2016/09/30 17:17:37 sevan Exp $
 
 SHA1 (gcc-6.2.0.tar.bz2) = 583e29c7fe69d9a1031a89752c2551ab5aeacb91
 RMD160 (gcc-6.2.0.tar.bz2) = d9154ca51f40ae3ce42950a0476f701a9f86fc95
@@ -8,7 +8,7 @@
 RMD160 (isl-0.14.tar.bz2) = 4c69d026b51561bc1948cb7db79331b78a9d2c39
 SHA512 (isl-0.14.tar.bz2) = 117c0c6f31d91a9284a8f54a748df6494ca2ac21507a45611e911403e9610579b9323ce624aea1de0b8089b3194e59d4364f01bdb71ddcf8f6c24c749d11c4b7
 Size (isl-0.14.tar.bz2) = 1399896 bytes
-SHA1 (patch-gcc_Makefile.in) = ce366a091960d335ecb022918e2f7bfc4e3fcccf
+SHA1 (patch-gcc_Makefile.in) = 41d45e8988b59e6ffa7adb7833290d39fc1fd0e1
 SHA1 (patch-gcc_config.gcc) = 84fedf863c853c40bf81884f5db3617200f0d31d
 SHA1 (patch-gcc_config_netbsd-protos.h) = 6d28864b4ccc8c1a63fe28e43601b84b63a00633
 SHA1 (patch-gcc_config_netbsd-stdint.h) = 025fc883101a187e84ed4c0772406720d645d550
diff -r 88dabc984876 -r db5d9a100293 lang/gcc6/patches/patch-gcc_Makefile.in
--- a/lang/gcc6/patches/patch-gcc_Makefile.in   Fri Sep 30 16:50:43 2016 +0000
+++ b/lang/gcc6/patches/patch-gcc_Makefile.in   Fri Sep 30 17:17:37 2016 +0000
@@ -1,7 +1,9 @@
-$NetBSD: patch-gcc_Makefile.in,v 1.1 2016/09/12 22:13:54 maya Exp $
+$NetBSD: patch-gcc_Makefile.in,v 1.2 2016/09/30 17:17:37 sevan Exp $
 
 Add gcc libdir to a programs rpath so that _this gcc's_ support libraries
-are found.
+are found. Note that there must not be a whitespace between
+$(LINKER_RPATH_FLAG) and the path. Otherwise the flag may be
+misinterpreted by linker (e.g. Apple's ld).
 
 --- gcc/Makefile.in.orig       2013-03-05 09:46:34.000000000 +0000
 +++ gcc/Makefile.in
@@ -9,7 +11,7 @@
  # Language-independent files.
  
  DRIVER_DEFINES = \
-+  -DLINK_LIBGCC_SPEC="\"%D $(LINKER_RPATH_FLAG) $(prefix)/@GCC_TARGET_MACHINE@/lib/%M $(LINKER_RPATH_FLAG) $(libdir)/%M \"" \
++  -DLINK_LIBGCC_SPEC="\"%D $(LINKER_RPATH_FLAG)$(prefix)/@GCC_TARGET_MACHINE@/lib/%M $(LINKER_RPATH_FLAG)$(libdir)/%M \"" \
    -DSTANDARD_STARTFILE_PREFIX=\"$(unlibsubdir)/\" \
    -DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc/\" \
    -DSTANDARD_LIBEXEC_PREFIX=\"$(libexecdir)/gcc/\" \



Home | Main Index | Thread Index | Old Index