From b2652b4b356d73023304b498e7d2f229c4fdf271 Mon Sep 17 00:00:00 2001 From: jperkin Date: Wed, 18 Nov 2015 22:30:12 +0000 Subject: Ensure building 32-bit on 64-bit is supported when using cwrappers too. --- mk/platform/Linux.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mk') diff --git a/mk/platform/Linux.mk b/mk/platform/Linux.mk index 3c63ec0ac8a..aad4b3aab42 100644 --- a/mk/platform/Linux.mk +++ b/mk/platform/Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: Linux.mk,v 1.63 2015/07/18 15:08:43 wiedi Exp $ +# $NetBSD: Linux.mk,v 1.64 2015/11/18 22:30:12 jperkin Exp $ # # Variable definitions for the Linux operating system. @@ -127,6 +127,7 @@ LIBABISUFFIX?= 64 # explicitly set it. .if ${NATIVE_MACHINE_ARCH} == "x86_64" && ${MACHINE_ARCH} == "i386" _WRAP_EXTRA_ARGS.LD+= -m elf_i386 +CWRAPPERS_APPEND.ld+= -m elf_i386 .endif ## Use _CMD so the command only gets run when needed! -- cgit v1.2.3