1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

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.
This commit is contained in:
David E. O'Brien 2002-11-25 19:00:04 +00:00
parent 90a50de06c
commit aee1245fca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71091

View File

@ -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: \