pkgsrc/lang/gcc46/patches/patch-ac
hans ac7f6e2663 Add patch-ac from lang/gcc44. Without it, programs built with this gcc
lack the rpath to libgcc, causing all kinds of trouble.
2011-10-18 17:55:27 +00:00

12 lines
480 B
Text

$NetBSD: patch-ac,v 1.1 2011/10/18 17:56:16 hans Exp $
--- gcc/Makefile.in.orig 2004-06-17 15:56:58.000000000 -0600
+++ gcc/Makefile.in
@@ -1944,6 +1944,7 @@ c-omp.o : c-omp.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/\" \