summaryrefslogtreecommitdiffstats
path: root/share/mk
diff options
context:
space:
mode:
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.cpu.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/mk/bsd.cpu.mk b/share/mk/bsd.cpu.mk
index 1674f9e..a8507cb 100644
--- a/share/mk/bsd.cpu.mk
+++ b/share/mk/bsd.cpu.mk
@@ -50,7 +50,9 @@ _CPUCFLAGS = -march=${CPUTYPE}
. elif ${CPUTYPE} == "k5"
_CPUCFLAGS = -march=pentium
. elif ${CPUTYPE} == "p4"
-_CPUCFLAGS = -march=pentium4
+# gcc 3.2 is known to produce broken code with -march=pentium4, so it is
+# disabled for now. This is fixed in gcc 3.3.
+_CPUCFLAGS = -march=pentium3
. elif ${CPUTYPE} == "p3"
_CPUCFLAGS = -march=pentium3
. elif ${CPUTYPE} == "p2"
OpenPOWER on IntegriCloud