freebsd-ports/lang/gcc44/files/patch-ad
1998-04-07 01:18:16 +00:00

13 lines
348 B
Plaintext

--- 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"