freebsd-ports/lang/gcc35/files/patch-ad

13 lines
348 B
Plaintext
Raw Normal View History

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