diff options
author | dim <dim@FreeBSD.org> | 2011-01-05 22:24:33 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2011-01-05 22:24:33 +0000 |
commit | 2543f7030bff80d08cb0229ae32bda4fde307b72 (patch) | |
tree | 9b4bfbfe6c96c37ba0a8b26db592344b32146010 /sys/boot/ficl | |
parent | 97b4cbd8b4fc12d0be7936b0810a3f07b4d4ffcc (diff) | |
download | FreeBSD-src-2543f7030bff80d08cb0229ae32bda4fde307b72.zip FreeBSD-src-2543f7030bff80d08cb0229ae32bda4fde307b72.tar.gz |
On i386 and amd64, consistently use the following options whenever we
want to avoid using any "advanced" CPU features:
-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float
Diffstat (limited to 'sys/boot/ficl')
-rw-r--r-- | sys/boot/ficl/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/ficl/Makefile b/sys/boot/ficl/Makefile index bd89531..e441573 100644 --- a/sys/boot/ficl/Makefile +++ b/sys/boot/ficl/Makefile @@ -9,7 +9,7 @@ CLEANFILES= softcore.c testmain testmain.o CFLAGS+= -ffreestanding .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" CFLAGS+= -mpreferred-stack-boundary=2 -CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 +CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float .endif .if ${MACHINE_CPUARCH} == "powerpc" || ${MACHINE_CPUARCH} == "arm" CFLAGS+= -msoft-float |