diff options
author | kris <kris@FreeBSD.org> | 2002-09-07 01:26:11 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-09-07 01:26:11 +0000 |
commit | 4c22235af2f943632cc795d08e1b963d04b059cd (patch) | |
tree | 5185d62c2b0d505b56009cef4c87333133bba36a /share | |
parent | 9688aed8888daa8dd405ee00c01a4c24979305b6 (diff) | |
download | FreeBSD-src-4c22235af2f943632cc795d08e1b963d04b059cd.zip FreeBSD-src-4c22235af2f943632cc795d08e1b963d04b059cd.tar.gz |
Add support for ev67 and ev45 CPUTYPEs (new in gcc3)
Diffstat (limited to 'share')
-rw-r--r-- | share/examples/etc/make.conf | 2 | ||||
-rw-r--r-- | share/mk/bsd.cpu.mk | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf index e4a0d4b..66f2c47 100644 --- a/share/examples/etc/make.conf +++ b/share/examples/etc/make.conf @@ -27,7 +27,7 @@ # (AMD CPUs) athlon-mp athlon-xp athlon-4 athlon-tbird athlon k6-3 # k6-2 k6 k5 # (Intel CPUs) p4 p3 p2 i686 i586/mmx i586 i486 i386 -# Alpha/AXP architecture: ev6 pca56 ev56 ev5 ev45 ev4 +# Alpha/AXP architecture: ev67 ev6 pca56 ev56 ev5 ev45 ev4 # Intel ia64 architecture: itanium # # (?= allows to buildworld for a different CPUTYPE.) diff --git a/share/mk/bsd.cpu.mk b/share/mk/bsd.cpu.mk index c0ba41a..4d02595 100644 --- a/share/mk/bsd.cpu.mk +++ b/share/mk/bsd.cpu.mk @@ -76,7 +76,9 @@ _CPUCFLAGS = -march=pentium _CPUCFLAGS = -march=i486 . endif . elif ${MACHINE_ARCH} == "alpha" -. if ${CPUTYPE} == "ev6" +. if ${CPUTYPE} == "ev67" +_CPUCFLAGS = -mcpu=ev67 +. elif ${CPUTYPE} == "ev6" _CPUCFLAGS = -mcpu=ev6 . elif ${CPUTYPE} == "pca56" _CPUCFLAGS = -mcpu=pca56 @@ -85,7 +87,7 @@ _CPUCFLAGS = -mcpu=ev56 . elif ${CPUTYPE} == "ev5" _CPUCFLAGS = -mcpu=ev5 . elif ${CPUTYPE} == "ev45" -_CPUCFLAGS = -mcpu=ev4 # No -mcpu=ev45 for gcc +_CPUCFLAGS = -mcpu=ev45 . elif ${CPUTYPE} == "ev4" _CPUCFLAGS = -mcpu=ev4 . endif |