summaryrefslogtreecommitdiffstats
path: root/lib/libstand
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2011-01-05 22:24:33 +0000
committerdim <dim@FreeBSD.org>2011-01-05 22:24:33 +0000
commit2543f7030bff80d08cb0229ae32bda4fde307b72 (patch)
tree9b4bfbfe6c96c37ba0a8b26db592344b32146010 /lib/libstand
parent97b4cbd8b4fc12d0be7936b0810a3f07b4d4ffcc (diff)
downloadFreeBSD-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 'lib/libstand')
-rw-r--r--lib/libstand/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libstand/Makefile b/lib/libstand/Makefile
index cdf298b..05f0995 100644
--- a/lib/libstand/Makefile
+++ b/lib/libstand/Makefile
@@ -22,7 +22,7 @@ CFLAGS+= -I${.CURDIR}
.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} == "pc98"
CFLAGS+= -Os
OpenPOWER on IntegriCloud