1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-28 11:57:28 +00:00

Use cross-compile friendly spelling of CPUTYPE.

Submitted by:	ru
This commit is contained in:
David E. O'Brien 2005-12-07 22:55:29 +00:00
parent 2c7bd7ecd1
commit 667d8d10c7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=153220

View File

@ -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 \