summaryrefslogtreecommitdiffstats
path: root/Makefile.libcompat
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2017-07-26 23:18:14 +0000
committeremaste <emaste@FreeBSD.org>2017-07-26 23:18:14 +0000
commit207c4ed2168f875ca4acc697a0a9ca29bb3e804c (patch)
treee99e2d71f6f1b1e9d01d080c36ddd7c7c49b7b3a /Makefile.libcompat
parentc2a5e322984b16986fbf13b189d8ebaa3174ecce (diff)
downloadFreeBSD-src-207c4ed2168f875ca4acc697a0a9ca29bb3e804c.zip
FreeBSD-src-207c4ed2168f875ca4acc697a0a9ca29bb3e804c.tar.gz
MFC r312857: 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.
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 0764c41..3cc6135 100644
--- a/Makefile.libcompat
+++ b/Makefile.libcompat
@@ -34,6 +34,8 @@ LIB32WMAKEFLAGS= \
OBJCOPY="${XOBJCOPY}"
.endif
+LIB32WMAKEFLAGS+= NM="${XNM}"
+
LIB32CFLAGS= -m32 -DCOMPAT_32BIT
LIB32DTRACE= ${DTRACE} -32
OpenPOWER on IntegriCloud