diff options
author | imp <imp@FreeBSD.org> | 2015-08-27 23:46:42 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2015-08-27 23:46:42 +0000 |
commit | d1be0bf24ec398e1f5f1634ccfb0a2e102caf3dc (patch) | |
tree | 4b5ef87fae8f2c0ca7f1556f0b1c771c81437d7b /sys/boot/zfs | |
parent | 05c9f26dff59dbf912171e997071d42c9f2c866e (diff) | |
download | FreeBSD-src-d1be0bf24ec398e1f5f1634ccfb0a2e102caf3dc.zip FreeBSD-src-d1be0bf24ec398e1f5f1634ccfb0a2e102caf3dc.tar.gz |
Use CFLAGS_NO_SIMD in preference to varying lists of -mno-xxxx flags.
Go ahead and defined -D_STANDALONE for all targets (only strictly
needed for some architecture, but harmless on those it isn't required
for). Also add -msoft-float to all architectures uniformly rather
that higgley piggley like it is today.
Differential Revision: https://reviews.freebsd.org/D3496
Diffstat (limited to 'sys/boot/zfs')
-rw-r--r-- | sys/boot/zfs/Makefile | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/boot/zfs/Makefile b/sys/boot/zfs/Makefile index 2407643..6f8c26b 100644 --- a/sys/boot/zfs/Makefile +++ b/sys/boot/zfs/Makefile @@ -10,14 +10,8 @@ CFLAGS+= -I${.CURDIR}/../common -I${.CURDIR}/../.. -I. CFLAGS+= -I${.CURDIR}/../../../lib/libstand CFLAGS+= -I${.CURDIR}/../../cddl/boot/zfs -CFLAGS+= -ffreestanding .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" CFLAGS+= -march=i386 -CFLAGS.gcc+= -mpreferred-stack-boundary=2 -CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float -.endif -.if ${MACHINE_CPUARCH} == "powerpc" || ${MACHINE_CPUARCH} == "arm" -CFLAGS+= -msoft-float .endif .if ${MACHINE_CPUARCH} == "amd64" CFLAGS+= -m32 @@ -31,6 +25,7 @@ machine: ln -sf ${.CURDIR}/../../i386/include machine .endif +.include <bsd.stand.mk> .include <bsd.lib.mk> .if ${MACHINE_CPUARCH} == "amd64" |