diff options
author | John Baldwin <jhb@FreeBSD.org> | 2002-09-18 20:44:46 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2002-09-18 20:44:46 +0000 |
commit | eb28bc3e985949e9692041eda4ee85bbd94ad662 (patch) | |
tree | 867bd33fe32f968f576c613c49d52f14c528768e /share/mk/bsd.cpu.mk | |
parent | 86ed6d45ac981df24ef05bed655c7a8c213ff35f (diff) | |
download | src-test2-eb28bc3e985949e9692041eda4ee85bbd94ad662.tar.gz src-test2-eb28bc3e985949e9692041eda4ee85bbd94ad662.zip |
Notes
Diffstat (limited to 'share/mk/bsd.cpu.mk')
-rw-r--r-- | share/mk/bsd.cpu.mk | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/share/mk/bsd.cpu.mk b/share/mk/bsd.cpu.mk index fe7e4f2fb881..deb0948b4a01 100644 --- a/share/mk/bsd.cpu.mk +++ b/share/mk/bsd.cpu.mk @@ -7,16 +7,17 @@ .if !defined(CPUTYPE) || empty(CPUTYPE) . if ${MACHINE_ARCH} == "i386" _CPUCFLAGS = -mcpu=pentiumpro -CPUTYPE = i386 +MACHINE_CPU = i386 . elif ${MACHINE_ARCH} == "alpha" _CPUCFLAGS = -mcpu=ev4 -mtune=ev5 -CPUTYPE = ev4 +MACHINE_CPU = ev4 +.elif ${MACHINE_ARCH} == "x86-64" || ${MACHINE_ARCH} == "x86_64" +MACHINE_CPU = x86-64 sse2 sse . elif ${MACHINE_ARCH} == "ia64" _CPUCFLAGS = -CPUTYPE = itanium +MACHINE_CPU = itanium . elif ${MACHINE_ARCH} == "sparc64" _CPUCFLAGS = -CPUTYPE = ultrasparc . endif .else @@ -92,7 +93,6 @@ _CPUCFLAGS = -mcpu=ev45 _CPUCFLAGS = -mcpu=ev4 . endif . endif -.endif # NB: COPTFLAGS is handled in /usr/src/sys/conf/Makefile.<arch> @@ -161,3 +161,4 @@ MACHINE_CPU = x86-64 sse2 sse MACHINE_CPU = itanium . endif .endif +.endif |