mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
67e588bd58
default for FreeBSD. The standard exception implementation reliably dumps core under FreeBSD. Users can put "-fno-sjlj-exceptions" on the command line if they really want to override the new default. Configure with "--with-gnu-as" and "--with-gnu-ld". Define "__FreeBSD__" as 3.
18 lines
665 B
Plaintext
18 lines
665 B
Plaintext
--- 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"
|