summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-05-11 20:05:17 +0000
committerobrien <obrien@FreeBSD.org>2002-05-11 20:05:17 +0000
commite752914d1bd929de4d869542cc520d859ac5b291 (patch)
tree6b63425fd5b7e74a4d4a469b5dbc7d0ae5b3ebec
parent304f33f4ba9605cd6653a61247784538af1e22e4 (diff)
downloadFreeBSD-src-e752914d1bd929de4d869542cc520d859ac5b291.zip
FreeBSD-src-e752914d1bd929de4d869542cc520d859ac5b291.tar.gz
With GCC 3.1, we can now treat AMD Athlon and an Athlon.
Submitted by: Steven G. Kargl <kargl@troutmask.apl.washington.edu>
-rw-r--r--share/mk/bsd.cpu.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/share/mk/bsd.cpu.mk b/share/mk/bsd.cpu.mk
index b9f325d..c045ac2 100644
--- a/share/mk/bsd.cpu.mk
+++ b/share/mk/bsd.cpu.mk
@@ -22,7 +22,7 @@ CPUTYPE = i686
. elif ${CPUTYPE} == "pentium"
CPUTYPE = i586
. elif ${CPUTYPE} == "athlon"
-CPUTYPE = k7
+CPUTYPE = athlon
. endif
.endif
@@ -32,8 +32,8 @@ CPUTYPE = k7
.if !defined(NO_CPU_CFLAGS) || !defined(NO_CPU_COPTFLAGS)
. if ${MACHINE_ARCH} == "i386"
-. if ${CPUTYPE} == "k7"
-_CPUCFLAGS = -march=k6 # gcc doesn't support athlon yet, but it will
+. if ${CPUTYPE} == "athlon"
+_CPUCFLAGS = -march=athlon
. elif ${CPUTYPE} == "k6-2"
_CPUCFLAGS = -march=k6
. elif ${CPUTYPE} == "k6"
@@ -83,8 +83,8 @@ CFLAGS += ${_CPUCFLAGS}
# presence of a CPU feature.
.if ${MACHINE_ARCH} == "i386"
-. if ${CPUTYPE} == "k7"
-MACHINE_CPU = k7 3dnow mmx k6 k5 i586 i486 i386
+. if ${CPUTYPE} == "athlon"
+MACHINE_CPU = athlon 3dnow mmx k6 k5 i586 i486 i386
. elif ${CPUTYPE} == "k6-2"
MACHINE_CPU = 3dnow mmx k6 k5 i586 i486 i386
. elif ${CPUTYPE} == "k6"
OpenPOWER on IntegriCloud