From 667d8d10c741948d5a6f1c181f820b8965724854 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Wed, 7 Dec 2005 22:55:29 +0000 Subject: [PATCH] Use cross-compile friendly spelling of CPUTYPE. Submitted by: ru --- Makefile.inc1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 \