From 8e02eade2ddea9a1e74409a732d1bd727131d8fc Mon Sep 17 00:00:00 2001 From: imp Date: Fri, 28 Aug 2015 14:50:36 +0000 Subject: [PATCH] Add back missing -m32 for amd64 and powerpc64 that was lost in the move to bsd.stand.mk. --- sys/boot/libstand32/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/boot/libstand32/Makefile b/sys/boot/libstand32/Makefile index 93aec6077c57..e04d0bee4a24 100644 --- a/sys/boot/libstand32/Makefile +++ b/sys/boot/libstand32/Makefile @@ -19,6 +19,9 @@ LIB= stand INTERNALLIB= MK_PROFILE= no NO_PIC= +.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "powerpc64" +CFLAGS+= -m32 -I. +.endif WARNS?= 0