aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2005-12-07 22:55:29 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2005-12-07 22:55:29 +0000
commit667d8d10c741948d5a6f1c181f820b8965724854 (patch)
tree674f1cd0f37cf23cbba49121d8bae1402dc26a34 /Makefile.inc1
parent2c7bd7ecd179050d8cd22f22d3ed344c6fd85544 (diff)
downloadsrc-667d8d10c741948d5a6f1c181f820b8965724854.tar.gz
src-667d8d10c741948d5a6f1c181f820b8965724854.zip
Use cross-compile friendly spelling of CPUTYPE.
Submitted by: ru
Notes
Notes: svn path=/head/; revision=153220
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc14
1 files 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 \