From f8cd0b629791b3c80d3decadbf3a4825530c721f Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sat, 14 Feb 1998 04:18:25 +0000 Subject: Upgrade to 1998-02-05 SNAP. Fixes problems several have had with 1.0.1. Including linking with the STL vector class. --- lang/gcc31/files/patch-af | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 lang/gcc31/files/patch-af (limited to 'lang/gcc31/files/patch-af') diff --git a/lang/gcc31/files/patch-af b/lang/gcc31/files/patch-af new file mode 100644 index 000000000000..d838cff75b3a --- /dev/null +++ b/lang/gcc31/files/patch-af @@ -0,0 +1,21 @@ +--- gcc/config/i386/freebsd-elf.h.orig Sat Dec 6 09:25:14 1997 ++++ gcc/config/i386/freebsd-elf.h Fri Feb 13 11:43:46 1998 +@@ -127,6 +127,9 @@ + } \ + } + ++#undef CC1PLUS_SPEC ++#define CC1PLUS_SPEC "-fsjlj-exceptions" ++ + #undef SIZE_TYPE + #define SIZE_TYPE "unsigned int" + +@@ -140,7 +143,7 @@ + #define WCHAR_TYPE_SIZE BITS_PER_WORD + + #undef CPP_PREDEFINES +-#define CPP_PREDEFINES "-Dunix -D__ELF__ -D__FreeBSD__=2 -Asystem(FreeBSD)" ++#define CPP_PREDEFINES "-Dunix -D__ELF__ -D__FreeBSD__ -Asystem(FreeBSD)" + + #undef CPP_SPEC + #define CPP_SPEC "%(cpp_cpu) %[cpp_cpu] %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} %{posix:-D_POSIX_SOURCE}" -- cgit v1.2.3