diff --git a/Makefile.inc1 b/Makefile.inc1 index 65becedf1c3c..1d7ffe5a3a5a 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -209,10 +209,10 @@ WMAKE= ${WMAKEENV} ${MAKE} -f Makefile.inc1 DESTDIR=${WORLDTMP} # 32 bit world LIB32TMP= ${OBJTREE}${.CURDIR}/lib32 -.if empty(CPUTYPE) +.if empty(TARGET_CPUTYPE) LIB32CPUTYPE= k8 .else -LIB32CPUTYPE= ${CPUTYPE} +LIB32CPUTYPE= ${TARGET_CPUTYPE} .endif LIB32PREFLAGS= -m32 -march=${LIB32CPUTYPE} -mfancy-math-387 -DCOMPAT_32BIT LIB32POSTFLAGS= -I${LIB32TMP}/usr/include \