summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-04-26 19:20:25 +0000
committerobrien <obrien@FreeBSD.org>2003-04-26 19:20:25 +0000
commitb2a2b3f04e08147c52115bd1e24b9af085acd063 (patch)
tree2a9d8bc46b63df1909ddd9126aca981339f20f01
parent61b472de772225d580ede677059a11edb02c3e36 (diff)
downloadFreeBSD-src-b2a2b3f04e08147c52115bd1e24b9af085acd063.zip
FreeBSD-src-b2a2b3f04e08147c52115bd1e24b9af085acd063.tar.gz
Fix the LINK_SPEC. Our i386 32-bit emulation name changed.
We also need to look in the proper directory for 32-bit libs.
-rw-r--r--contrib/gcc/config/i386/freebsd64.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/gcc/config/i386/freebsd64.h b/contrib/gcc/config/i386/freebsd64.h
index b0a4209..47981bd 100644
--- a/contrib/gcc/config/i386/freebsd64.h
+++ b/contrib/gcc/config/i386/freebsd64.h
@@ -31,8 +31,7 @@ Boston, MA 02111-1307, USA. */
#undef LINK_SPEC
#define LINK_SPEC "\
- %{!m32:-m elf_x86_64} \
- %{m32:-m elf_i386} \
+ %{m32:-m elf_i386_fbsd -Y P,/usr/lib/i386} \
%{Wl,*:%*} \
%{v:-V} \
%{assert*} %{R*} %{rpath*} %{defsym*} \
OpenPOWER on IntegriCloud