Use cross-compile friendly spelling of CPUTYPE.
Submitted by: ru
This commit is contained in:
parent
2c7bd7ecd1
commit
667d8d10c7
@ -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