freebsd-ports/lang/gcc35/files/patch-ad
David E. O'Brien f8cd0b6297 Upgrade to 1998-02-05 SNAP. Fixes problems several have had with 1.0.1.
Including linking with the STL vector class.
1998-02-14 04:18:25 +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"