aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc40/files/patch-ad
blob: cb56621ece0e514381a7bb5f1994e5c9e43a896f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- 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}}"
 
+#undef CC1PLUS_SPEC
+#define CC1PLUS_SPEC "-fsjlj-exceptions"
+
 #undef SIZE_TYPE
 #define SIZE_TYPE "unsigned int"