diff options
author | obrien <obrien@FreeBSD.org> | 2005-05-31 18:13:29 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2005-05-31 18:13:29 +0000 |
commit | 89936cfe1297f8030a9804f08595408441727c36 (patch) | |
tree | cd385a585982c524576e0ff36d32ed45200ccb74 /sys/boot/ficl | |
parent | 7a5321874fcc82857db796bcd6b5b54de0fbd1e0 (diff) | |
download | FreeBSD-src-89936cfe1297f8030a9804f08595408441727c36.zip FreeBSD-src-89936cfe1297f8030a9804f08595408441727c36.tar.gz |
Ensure GCC does not use FP registers in integer code.
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/ficl')
-rw-r--r-- | sys/boot/ficl/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/boot/ficl/Makefile b/sys/boot/ficl/Makefile index e041b78..55abdf7 100644 --- a/sys/boot/ficl/Makefile +++ b/sys/boot/ficl/Makefile @@ -12,6 +12,7 @@ CFLAGS+= -mno-fp-regs -Os .endif .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" CFLAGS+= -mpreferred-stack-boundary=2 +CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2 .endif .if ${MACHINE_ARCH} == "powerpc" CFLAGS+= -msoft-float |