Default to producing 'k8' COMPAT_32BIT bits, but allow override.

This commit is contained in:
David E. O'Brien 2005-12-07 17:41:10 +00:00
parent 9da0c15871
commit fef891f794

View File

@ -209,7 +209,12 @@ WMAKE= ${WMAKEENV} ${MAKE} -f Makefile.inc1 DESTDIR=${WORLDTMP}
# 32 bit world
LIB32TMP= ${OBJTREE}${.CURDIR}/lib32
LIB32PREFLAGS= -m32 -march=athlon-xp -msse2 -mfancy-math-387 -DCOMPAT_32BIT
.if empty(CPUTYPE)
LIB32CPUTYPE= k8
.else
LIB32CPUTYPE= ${CPUTYPE}
.endif
LIB32PREFLAGS= -m32 -march=${LIB32CPUTYPE} -msse2 -mfancy-math-387 -DCOMPAT_32BIT
LIB32POSTFLAGS= -I${LIB32TMP}/usr/include \
-L${LIB32TMP}/usr/lib32 \
-B${LIB32TMP}/usr/lib32