aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.libcompat
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2017-01-27 03:43:18 +0000
committerEd Maste <emaste@FreeBSD.org>2017-01-27 03:43:18 +0000
commitbdb691d4497527923c084f9c9c35c0b8c1bf2196 (patch)
treea3e7eb712749d5300868e59274f4bb054d156173 /Makefile.libcompat
parentf52e4bdfd7b9b12bf0b9da8556b1190cc1e6aaf8 (diff)
downloadsrc-bdb691d4497527923c084f9c9c35c0b8c1bf2196.tar.gz
src-bdb691d4497527923c084f9c9c35c0b8c1bf2196.zip
Use cross-NM (XNM) in compat32 build
An attempt to build mips64 using external toolchain failed as it tried to use the host amd64 nm. MFC after: 1 month Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=312857
Diffstat (limited to 'Makefile.libcompat')
-rw-r--r--Makefile.libcompat2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.libcompat b/Makefile.libcompat
index ea2a2e69d94c..2f135eb8b54a 100644
--- a/Makefile.libcompat
+++ b/Makefile.libcompat
@@ -50,6 +50,8 @@ LIB32WMAKEFLAGS= LD="${XLD} -m elf32btsmip_fbsd"
LIB32WMAKEFLAGS+= OBJCOPY="${XOBJCOPY}"
.endif
+LIB32WMAKEFLAGS+= NM="${XNM}"
+
LIB32CFLAGS= -DCOMPAT_32BIT
LIB32DTRACE= ${DTRACE} -32