svn commit: r217029 - in head: lib/libstand sys/boot/ficl
sys/boot/zfs
Dimitry Andric
dim at FreeBSD.org
Wed Jan 5 22:00:37 UTC 2011
Author: dim
Date: Wed Jan 5 22:00:37 2011
New Revision: 217029
URL: http://svn.freebsd.org/changeset/base/217029
Log:
In lib/libstand, sys/boot/ficl and sys/boot/zfs, -mno-sse3 should also
be used for amd64, not just for i386.
Modified:
head/lib/libstand/Makefile
head/sys/boot/ficl/Makefile
head/sys/boot/zfs/Makefile
Modified: head/lib/libstand/Makefile
==============================================================================
--- head/lib/libstand/Makefile Wed Jan 5 21:46:08 2011 (r217028)
+++ head/lib/libstand/Makefile Wed Jan 5 22:00:37 2011 (r217029)
@@ -22,10 +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
-.endif
-.if ${MACHINE_CPUARCH} == "i386"
-CFLAGS+= -mno-sse3
+CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3
.endif
.if ${MACHINE} == "pc98"
CFLAGS+= -Os
Modified: head/sys/boot/ficl/Makefile
==============================================================================
--- head/sys/boot/ficl/Makefile Wed Jan 5 21:46:08 2011 (r217028)
+++ head/sys/boot/ficl/Makefile Wed Jan 5 22:00:37 2011 (r217029)
@@ -9,10 +9,9 @@ CLEANFILES= softcore.c testmain testmain
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
Modified: head/sys/boot/zfs/Makefile
==============================================================================
--- head/sys/boot/zfs/Makefile Wed Jan 5 21:46:08 2011 (r217028)
+++ head/sys/boot/zfs/Makefile Wed Jan 5 22:00:37 2011 (r217029)
@@ -13,10 +13,7 @@ CFLAGS+= -I${.CURDIR}/../../cddl/boot/zf
CFLAGS+= -ffreestanding
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
CFLAGS+= -mpreferred-stack-boundary=2
-CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2
-.endif
-.if ${MACHINE_CPUARCH} == "i386"
-CFLAGS+= -mno-sse3
+CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3
.endif
.if ${MACHINE_CPUARCH} == "powerpc" || ${MACHINE_CPUARCH} == "arm"
CFLAGS+= -msoft-float
More information about the svn-src-all
mailing list