summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-05-31 12:50:24 +0000
committerru <ru@FreeBSD.org>2002-05-31 12:50:24 +0000
commitb3014bdd3cfd75493dfbe163942668ef056f57f0 (patch)
tree1fab775d9cd99d99cb15dbe2a6bbce91e2e5bb0b /share
parent952d847c40501095773a106b939013d66f58a9f5 (diff)
downloadFreeBSD-src-b3014bdd3cfd75493dfbe163942668ef056f57f0.zip
FreeBSD-src-b3014bdd3cfd75493dfbe163942668ef056f57f0.tar.gz
Bootstrapping aid for those with Athlon upgrading from gcc 2.95.x.
Prodded by: gordon
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.cpu.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/mk/bsd.cpu.mk b/share/mk/bsd.cpu.mk
index b82ffd8..0c3985b 100644
--- a/share/mk/bsd.cpu.mk
+++ b/share/mk/bsd.cpu.mk
@@ -37,7 +37,11 @@ CPUTYPE = k7
.if !defined(NO_CPU_CFLAGS) || !defined(NO_CPU_COPTFLAGS)
. if ${MACHINE_ARCH} == "i386"
. if ${CPUTYPE} == "k7"
+. if defined(BOOTSTRAPPING)
+_CPUCFLAGS = -march=k6 # gcc 2.95.x didn't support athlon
+. else
_CPUCFLAGS = -march=athlon
+. endif
. elif ${CPUTYPE} == "k6-2"
_CPUCFLAGS = -march=k6
. elif ${CPUTYPE} == "k6"
OpenPOWER on IntegriCloud