aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc40/files
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1998-04-07 09:18:16 +0800
committerobrien <obrien@FreeBSD.org>1998-04-07 09:18:16 +0800
commit4d7ad7b46a6dc67e0815aec40ab662e2b28da8f2 (patch)
tree4aa8e9c63b3fc73526742d88d15db7e0a84f3640 /lang/gcc40/files
parent465c7265c5fd4b1ee69679de0f90a66f028d384c (diff)
downloadfreebsd-ports-gnome-4d7ad7b46a6dc67e0815aec40ab662e2b28da8f2.tar.gz
freebsd-ports-gnome-4d7ad7b46a6dc67e0815aec40ab662e2b28da8f2.tar.zst
freebsd-ports-gnome-4d7ad7b46a6dc67e0815aec40ab662e2b28da8f2.zip
Upgrade to the 980315 snapshot.
Diffstat (limited to 'lang/gcc40/files')
-rw-r--r--lang/gcc40/files/patch-ad15
-rw-r--r--lang/gcc40/files/patch-af8
2 files changed, 9 insertions, 14 deletions
diff --git a/lang/gcc40/files/patch-ad b/lang/gcc40/files/patch-ad
index 0939a778b9a2..cb56621ece0e 100644
--- a/lang/gcc40/files/patch-ad
+++ b/lang/gcc40/files/patch-ad
@@ -1,17 +1,12 @@
--- 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
-@@ -35,10 +35,13 @@
- #include "i386/perform.h"
-
- #undef CPP_PREDEFINES
--#define CPP_PREDEFINES "-Dunix -Di386 -D__FreeBSD__ -D__386BSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
-+#define CPP_PREDEFINES "-Di386 -Dunix -D__FreeBSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
-
+@@ -40,6 +40,9 @@
/* Like the default, except no -lg. */
- #define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
-+
+ #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"
+
diff --git a/lang/gcc40/files/patch-af b/lang/gcc40/files/patch-af
index b34303d22d33..d838cff75b3a 100644
--- a/lang/gcc40/files/patch-af
+++ b/lang/gcc40/files/patch-af
@@ -1,5 +1,5 @@
---- gcc/config/i386/freebsd-elf.h.orig Fri Mar 6 16:11:54 1998
-+++ gcc/config/i386/freebsd-elf.h Sun Mar 22 18:01:59 1998
+--- 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 @@
} \
}
@@ -14,8 +14,8 @@
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#undef CPP_PREDEFINES
--#define CPP_PREDEFINES "-Di386 -Dunix -D__ELF__ -D__FreeBSD__=2 -Asystem(FreeBSD)"
-+#define CPP_PREDEFINES "-Di386 -Dunix -D__ELF__ -D__FreeBSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
+-#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}"