diff options
author | obrien <obrien@FreeBSD.org> | 2002-11-26 03:00:04 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-11-26 03:00:04 +0800 |
commit | c1eb6cb434856002beecf189321d5a7a35824f8d (patch) | |
tree | 9a6db869c2b32be11c42f9e704627d733ffdb011 /lang | |
parent | b925b0e3c83f65d46ae6e566c8bfa6e87df268b1 (diff) | |
download | freebsd-ports-gnome-c1eb6cb434856002beecf189321d5a7a35824f8d.tar.gz freebsd-ports-gnome-c1eb6cb434856002beecf189321d5a7a35824f8d.tar.zst freebsd-ports-gnome-c1eb6cb434856002beecf189321d5a7a35824f8d.zip |
Don't specify an emulation in the link spec. Just use the 'ld' default.
The proper emulation is different between RELENG_4 and 5-CURRENT.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/egcs/files/patch-af | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lang/egcs/files/patch-af b/lang/egcs/files/patch-af index debdbc72846a..218e9ab34c21 100644 --- a/lang/egcs/files/patch-af +++ b/lang/egcs/files/patch-af @@ -1,5 +1,5 @@ --- gcc/config/i386/freebsd.h.orig Mon Mar 1 14:47:32 1999 -+++ gcc/config/i386/freebsd.h Mon Dec 4 14:03:42 2000 ++++ gcc/config/i386/freebsd.h Sun Nov 24 22:38:28 2002 @@ -24,16 +24,6 @@ #undef TARGET_VERSION #define TARGET_VERSION fprintf (stderr, " (i386 FreeBSD/ELF)"); @@ -76,3 +76,12 @@ /* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support for the special GCC options -static and -shared, which allow us to +@@ -181,7 +158,7 @@ + done. */ + + #undef LINK_SPEC +-#define LINK_SPEC "-m elf_i386 %{shared:-shared} \ ++#define LINK_SPEC "%{shared:-shared} \ + %{!shared: \ + %{!ibcs: \ + %{!static: \ |