summaryrefslogtreecommitdiff
path: root/lang/gcc28/files/patch-02
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2003-04-28 15:37:22 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2003-04-28 15:37:22 +0000
commit96202fca8ff1368a00a451b62646828cbbfcdbed (patch)
treeffabe4e4eeb1fcbc02ed0d7837493e9d03872e72 /lang/gcc28/files/patch-02
parentUpdate to 1.9.0 (diff)
Simpler version of the "make this work on 5-CURRENT again" fix.
In this version we simply use the default emulation rather than explicitly setting it [wrong].
Notes
Notes: svn path=/head/; revision=79794
Diffstat (limited to '')
-rw-r--r--lang/gcc28/files/patch-0211
1 files changed, 10 insertions, 1 deletions
diff --git a/lang/gcc28/files/patch-02 b/lang/gcc28/files/patch-02
index 000b3b252434..e141d3a56714 100644
--- a/lang/gcc28/files/patch-02
+++ b/lang/gcc28/files/patch-02
@@ -1,5 +1,5 @@
--- config/i386/freebsd.h.orig Fri Dec 5 04:15:34 1997
-+++ config/i386/freebsd.h Sun Mar 21 17:59:06 1999
++++ config/i386/freebsd.h Sun Apr 27 15:12:42 2003
@@ -26,8 +26,18 @@
/* The svr4 ABI for the i386 says that records and unions are returned
@@ -29,3 +29,12 @@
#undef CPP_SPEC
#define CPP_SPEC "%(cpp_cpu) %[cpp_cpu] %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} %{posix:-D_POSIX_SOURCE}"
+@@ -176,7 +186,7 @@
+ done. */
+
+ #undef LINK_SPEC
+-#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
++#define LINK_SPEC "%{shared:-shared} \
+ %{!shared: \
+ %{!ibcs: \
+ %{!static: \