pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/gcc9/patches
Module Name: pkgsrc
Committed By: ryoon
Date: Thu Sep 17 12:31:24 UTC 2020
Added Files:
pkgsrc/lang/gcc9/patches: patch-gcc_Makefile.in
Log Message:
gcc9: Add the patch, fix previous
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/gcc9/patches/patch-gcc_Makefile.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/lang/gcc9/patches/patch-gcc_Makefile.in
diff -u /dev/null pkgsrc/lang/gcc9/patches/patch-gcc_Makefile.in:1.1
--- /dev/null Thu Sep 17 12:31:24 2020
+++ pkgsrc/lang/gcc9/patches/patch-gcc_Makefile.in Thu Sep 17 12:31:24 2020
@@ -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