pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/gcc9/patches gcc9: Add the patch, fix previous



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7de97346ded0
branches:  trunk
changeset: 439303:7de97346ded0
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Thu Sep 17 12:31:24 2020 +0000

description:
gcc9: Add the patch, fix previous

diffstat:

 lang/gcc9/patches/patch-gcc_Makefile.in |  16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diffs (20 lines):

diff -r 8c278dc1e614 -r 7de97346ded0 lang/gcc9/patches/patch-gcc_Makefile.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/gcc9/patches/patch-gcc_Makefile.in   Thu Sep 17 12:31:24 2020 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-gcc_Makefile.in,v 1.1 2020/09/17 12:31:24 ryoon Exp $
+
+Ensure libgcc from this GCC is found before others.  Note that there must
+not be a whitespace between $(LINKER_RPATH_FLAG) and the path.  Otherwise
+the flag may be misinterpreted by the linker (e.g. Apple ld).
+
+--- gcc/Makefile.in.orig       2017-05-02 16:12:40.965506000 +0000
++++ gcc/Makefile.in
+@@ -2112,6 +2112,7 @@ prefix.o: $(BASEVER)
+ # Language-independent files.
+ 
+ DRIVER_DEFINES = \
++  -DLINK_LIBGCC_SPEC="\"%D $(LINKER_RPATH_FLAG)$(prefix)/@MACHINE_GNU_PLATFORM@/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