summaryrefslogtreecommitdiffstats
path: root/Makefile.libcompat
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2016-06-09 17:03:03 +0000
committeremaste <emaste@FreeBSD.org>2016-06-09 17:03:03 +0000
commitc2a2f8cf8bd05e4dc1e4b6b1d13754c57e2b176e (patch)
tree7ec8f1996ac288f010c348286b79c5f5d6d2f3b7 /Makefile.libcompat
parentdebe558799a039749c66e1bfa41c6d004cd4f0f6 (diff)
downloadFreeBSD-src-c2a2f8cf8bd05e4dc1e4b6b1d13754c57e2b176e.zip
FreeBSD-src-c2a2f8cf8bd05e4dc1e4b6b1d13754c57e2b176e.tar.gz
Use -L to specify compat32 library paths instead of -Y
-Y is an uncommon linker option that is rather similar to -L. In discussion with Peter it seems early amd64 development might have required the -Y-specific behaviour, but it is no longer necessary. Switch to -L which is more widely supported and much more commonly used, to make it easier to link the FreeBSD base system with linkers other than ld.bfd. Submitted by: Rafael Ávila de Espíndola Differential Revision: https://reviews.freebsd.org/D6681
Diffstat (limited to 'Makefile.libcompat')
-rw-r--r--Makefile.libcompat2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.libcompat b/Makefile.libcompat
index f7911c3..f0aafe6 100644
--- a/Makefile.libcompat
+++ b/Makefile.libcompat
@@ -19,7 +19,7 @@ LIB32WMAKEENV= MACHINE=i386 MACHINE_ARCH=i386 \
MACHINE_CPU="i686 mmx sse sse2"
LIB32WMAKEFLAGS= \
AS="${XAS} --32" \
- LD="${XLD} -m elf_i386_fbsd -Y P,${LIBCOMPATTMP}/usr/lib32" \
+ LD="${XLD} -m elf_i386_fbsd -L${LIBCOMPATTMP}/usr/lib32" \
OBJCOPY="${XOBJCOPY}"
.elif ${TARGET_ARCH} == "powerpc64"
OpenPOWER on IntegriCloud