1998-03-11 11:49:14 +00:00
|
|
|
--- config/i386/freebsd.h.orig Sun Oct 19 09:31:05 1997
|
1998-04-12 13:29:02 +00:00
|
|
|
+++ config/i386/freebsd.h Sun Apr 12 06:19:42 1998
|
|
|
|
@@ -35,7 +35,16 @@
|
|
|
|
#include "i386/perform.h"
|
1998-03-11 11:49:14 +00:00
|
|
|
|
1998-04-12 13:29:02 +00:00
|
|
|
#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__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
|
|
|
|
+
|
1998-03-11 11:49:14 +00:00
|
|
|
+/* need "-fsjlj-exceptions" (use setjmp/longjmp for exceptions) the default.
|
|
|
|
+ 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. */
|
|
|
|
+#ifdef CC1PLUS_SPEC
|
|
|
|
+#error "CC1PLUS_SPEC needs ``-fsjlj-exceptions'', but is already defined."
|
|
|
|
+#endif
|
|
|
|
+#define CC1PLUS_SPEC "-fsjlj-exceptions"
|
1998-04-12 13:29:02 +00:00
|
|
|
|
1998-03-11 11:49:14 +00:00
|
|
|
/* Like the default, except no -lg. */
|
|
|
|
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
|