freebsd-ports/lang/gcc28/files/patch-02
David E. O'Brien 39789a9181 Sync-up CPP predefines w/our stock compiler and EGCS.
1. we are not 386BSD
2. ELF shouldn't need "-fsjlj-exceptions"
1998-04-12 13:29:02 +00:00

11 lines
550 B
Text

--- config/i386/freebsd-elf.h.orig Fri Dec 5 04:15:34 1997
+++ config/i386/freebsd-elf.h Sun Apr 12 06:23:12 1998
@@ -140,7 +140,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 "-Di386 -Dunix -D__ELF__ -D__FreeBSD__ -Asystem(FreeBSD) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
#undef CPP_SPEC
#define CPP_SPEC "%(cpp_cpu) %[cpp_cpu] %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} %{posix:-D_POSIX_SOURCE}"