summaryrefslogtreecommitdiffstats
path: root/lang/gcc34/files/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc34/files/patch-ad')
-rw-r--r--lang/gcc34/files/patch-ad15
1 files changed, 10 insertions, 5 deletions
diff --git a/lang/gcc34/files/patch-ad b/lang/gcc34/files/patch-ad
index cb56621..0939a77 100644
--- a/lang/gcc34/files/patch-ad
+++ b/lang/gcc34/files/patch-ad
@@ -1,12 +1,17 @@
--- gcc/config/i386/freebsd.h.orig Fri Feb 13 10:52:24 1998
+++ gcc/config/i386/freebsd.h Fri Feb 13 11:03:27 1998
-@@ -40,6 +40,9 @@
- /* Like the default, except no -lg. */
- #define LIB_SPEC "%{!shared:%{!pg:-lc}%{pg:-lc_p}}"
+@@ -35,10 +35,13 @@
+ #include "i386/perform.h"
+
+ #undef CPP_PREDEFINES
+-#define CPP_PREDEFINES "-Dunix -Di386 -D__FreeBSD__ -D__386BSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
++#define CPP_PREDEFINES "-Di386 -Dunix -D__FreeBSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
+ /* Like the default, except no -lg. */
+ #define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
++
+#undef CC1PLUS_SPEC
+#define CC1PLUS_SPEC "-fsjlj-exceptions"
-+
+
#undef SIZE_TYPE
#define SIZE_TYPE "unsigned int"
-
OpenPOWER on IntegriCloud