aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc45/files
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>1998-01-23 17:49:47 +0000
committerJohn Polstra <jdp@FreeBSD.org>1998-01-23 17:49:47 +0000
commit67e588bd58e5a26b08ac0e2fa655611cf590834c (patch)
treebec64a3c17d5e5be187d82aea97fe744015a337d /lang/gcc45/files
parentfc2cdbdaaa1eb2fe61d1bee15c0989fd48b74312 (diff)
Notes
Diffstat (limited to 'lang/gcc45/files')
-rw-r--r--lang/gcc45/files/patch-ad17
1 files changed, 17 insertions, 0 deletions
diff --git a/lang/gcc45/files/patch-ad b/lang/gcc45/files/patch-ad
new file mode 100644
index 000000000000..207c128cff6a
--- /dev/null
+++ b/lang/gcc45/files/patch-ad
@@ -0,0 +1,17 @@
+--- gcc/config/i386/freebsd.h.orig Fri Oct 17 23:52:58 1997
++++ gcc/config/i386/freebsd.h Thu Jan 22 21:50:29 1998
+@@ -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 "-Dunix -Di386 -D__FreeBSD__=3 -D__386BSD__ -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"