summaryrefslogtreecommitdiff
path: root/lang/gcc43/files/patch-ar
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc43/files/patch-ar')
-rw-r--r--lang/gcc43/files/patch-ar9
1 files changed, 6 insertions, 3 deletions
diff --git a/lang/gcc43/files/patch-ar b/lang/gcc43/files/patch-ar
index f2200f115da8..e6a4c8ad30b0 100644
--- a/lang/gcc43/files/patch-ar
+++ b/lang/gcc43/files/patch-ar
@@ -1,12 +1,15 @@
--- gcc/config/freebsd.h.orig Mon Nov 22 22:17:32 1999
-+++ gcc/config/freebsd.h Sat Dec 18 14:42:03 1999
-@@ -48,13 +48,23 @@
++++ gcc/config/freebsd.h Fri Feb 4 05:29:31 2000
+@@ -48,13 +48,26 @@
#undef WORD_SWITCH_TAKES_ARG
#define WORD_SWITCH_TAKES_ARG(STR) (FBSD_WORD_SWITCH_TAKES_ARG(STR))
+/* Place spaces around this string. We depend on string splicing to produce
+ the final CPP_PREDEFINES value. */
-+#define CPP_FBSD_PREDEFINES " -Dunix -D__FreeBSD__ -Asystem(unix) -Asystem(FreeBSD) "
++#define FBSD_CPP_PREDEFINES " -Dunix -D__FreeBSD__ -Asystem(unix) -Asystem(bsd) -Asystem(FreeBSD) "
++
++#undef CPP_PREDEFINES
++#define CPP_PREDEFINES FBSD_CPP_PREDEFINES
+
/* Provide a CPP_SPEC appropriate for FreeBSD. We just deal with the GCC
option `-posix', and PIC issues. */