summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/boot2/Makefile
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2005-03-15 18:43:36 +0000
committerobrien <obrien@FreeBSD.org>2005-03-15 18:43:36 +0000
commit8785d9930a2a876233010c60985d6af9f1aee467 (patch)
treed7394731815e7615b02056c9428e5795e4bd2106 /sys/boot/i386/boot2/Makefile
parenta84bfd6e041715048abf573e2613d65fbb0a36a6 (diff)
downloadFreeBSD-src-8785d9930a2a876233010c60985d6af9f1aee467.zip
FreeBSD-src-8785d9930a2a876233010c60985d6af9f1aee467.tar.gz
Ensure GCC does not use FP registers in integer code.
I think all we really need is -fno-sse2. I really don't like cluttering up the compiler invocation, but this bigger hammer will fix reported problems for now.
Diffstat (limited to 'sys/boot/i386/boot2/Makefile')
-rw-r--r--sys/boot/i386/boot2/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile
index 4111a35..ed0ae93 100644
--- a/sys/boot/i386/boot2/Makefile
+++ b/sys/boot/i386/boot2/Makefile
@@ -26,6 +26,7 @@ CFLAGS= -Os \
-fno-unit-at-a-time \
-mno-align-long-strings \
-mrtd \
+ -mno-mmx -mno-3dnow -mno-sse -mno-sse2 \
-D${BOOT2_UFS} \
-DFLAGS=${BOOT_BOOT1_FLAGS} \
-DSIOPRT=${BOOT_COMCONSOLE_PORT} \
OpenPOWER on IntegriCloud