mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 00:02:44 +00:00
Use cross-compile friendly spelling of CPUTYPE.
Submitted by: ru
This commit is contained in:
parent
2c7bd7ecd1
commit
667d8d10c7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=153220
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user