summaryrefslogtreecommitdiffstats
path: root/sys/conf
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 /sys/conf
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 'sys/conf')
-rw-r--r--sys/conf/kern.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index 61f814d..8d01660 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -33,7 +33,7 @@ CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
.if ${CC:T:Mclang} != "clang"
CFLAGS+= -mno-align-long-strings -mpreferred-stack-boundary=2
.endif
-CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3
+CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float
INLINE_LIMIT?= 8000
.endif
OpenPOWER on IntegriCloud