summaryrefslogtreecommitdiff
path: root/lang/gcc34/patches/patch-cc
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc34/patches/patch-cc')
-rw-r--r--lang/gcc34/patches/patch-cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/gcc34/patches/patch-cc b/lang/gcc34/patches/patch-cc
new file mode 100644
index 00000000000..56812e8fab5
--- /dev/null
+++ b/lang/gcc34/patches/patch-cc
@@ -0,0 +1,12 @@
+$NetBSD: patch-cc,v 1.1 2004/11/05 12:40:23 shannonjr Exp $
+
+--- gcc/Makefile.in.orig 2004-06-17 15:56:58.000000000 -0600
++++ gcc/Makefile.in
+@@ -1390,6 +1390,7 @@ c-pch.o : c-pch.c $(CONFIG_H) $(SYSTEM_H
+ # Language-independent files.
+
+ DRIVER_DEFINES = \
++ -DLINK_LIBGCC_SPEC="\"%D $(LINKER_RPATH_FLAG) $(exec_prefix)/lib\"" \
+ -DSTANDARD_STARTFILE_PREFIX=\"$(unlibsubdir)/\" \
+ -DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc/\" \
+ -DSTANDARD_LIBEXEC_PREFIX=\"$(libexecdir)/gcc/\" \