diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2005-12-07 17:41:10 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2005-12-07 17:41:10 +0000 |
| commit | fef891f794a9194c5434adb0238389e0754f4546 (patch) | |
| tree | ddf3402915b86c50892b9f456ee9ed9fceec9873 /Makefile.inc1 | |
| parent | 9da0c158718236daa27d674a65fd79244213ac78 (diff) | |
Notes
Diffstat (limited to 'Makefile.inc1')
| -rw-r--r-- | Makefile.inc1 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index bb456cc716e6..5a63d8c39f6c 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -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 |
