From 207c4ed2168f875ca4acc697a0a9ca29bb3e804c Mon Sep 17 00:00:00 2001 From: emaste Date: Wed, 26 Jul 2017 23:18:14 +0000 Subject: 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. --- Makefile.libcompat | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile.libcompat') 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 -- cgit v1.1