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
This commit is contained in:
Ed Maste 2017-01-27 03:43:18 +00:00
parent f52e4bdfd7
commit bdb691d449
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=312857

View file

@ -50,6 +50,8 @@ LIB32WMAKEFLAGS= LD="${XLD} -m elf32btsmip_fbsd"
LIB32WMAKEFLAGS+= OBJCOPY="${XOBJCOPY}"
.endif
LIB32WMAKEFLAGS+= NM="${XNM}"
LIB32CFLAGS= -DCOMPAT_32BIT
LIB32DTRACE= ${DTRACE} -32