summaryrefslogtreecommitdiffstats
path: root/sys/boot/ficl
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2011-01-05 22:00:37 +0000
committerdim <dim@FreeBSD.org>2011-01-05 22:00:37 +0000
commitec93578a69fb0fab47697bb2d0d2dd4820c04d61 (patch)
treebf84cd21c53d28775b2fe104053b40e894136fc5 /sys/boot/ficl
parent60ba58500e6e35071bb752fc9e00295769bc84c1 (diff)
downloadFreeBSD-src-ec93578a69fb0fab47697bb2d0d2dd4820c04d61.zip
FreeBSD-src-ec93578a69fb0fab47697bb2d0d2dd4820c04d61.tar.gz
In lib/libstand, sys/boot/ficl and sys/boot/zfs, -mno-sse3 should also
be used for amd64, not just for i386.
Diffstat (limited to 'sys/boot/ficl')
-rw-r--r--sys/boot/ficl/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/boot/ficl/Makefile b/sys/boot/ficl/Makefile
index 61760d0..9bb891b 100644
--- a/sys/boot/ficl/Makefile
+++ b/sys/boot/ficl/Makefile
@@ -9,10 +9,9 @@ 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
+CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3
.endif
.if ${MACHINE_CPUARCH} == "i386"
-CFLAGS+= -mno-sse3
.endif
.if ${MACHINE_CPUARCH} == "powerpc" || ${MACHINE_CPUARCH} == "arm"
CFLAGS+= -msoft-float
OpenPOWER on IntegriCloud