summaryrefslogtreecommitdiffstats
path: root/lib/libstand
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2013-12-26 11:32:39 +0000
committerdim <dim@FreeBSD.org>2013-12-26 11:32:39 +0000
commitf6df8d57188889ef1a72008fb41db0248faf92eb (patch)
tree592f8554fd57e64455687f551d76ed8fb72304ae /lib/libstand
parentd9cb31b8aec01ac93a633f10e1cf3e972cd51e70 (diff)
downloadFreeBSD-src-f6df8d57188889ef1a72008fb41db0248faf92eb.zip
FreeBSD-src-f6df8d57188889ef1a72008fb41db0248faf92eb.tar.gz
For libstand and sys/boot, split off gcc-only flags into CFLAGS.gcc.
MFC after: 3 days X-MFC-With: r259730
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 506b564..997616e 100644
--- a/lib/libstand/Makefile
+++ b/lib/libstand/Makefile
@@ -21,7 +21,7 @@ CFLAGS+= -ffreestanding -Wformat
CFLAGS+= -I${.CURDIR}
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
-CFLAGS+= -mpreferred-stack-boundary=2
+CFLAGS.gcc+= -mpreferred-stack-boundary=2
CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float
.endif
.if ${MACHINE} == "pc98"
OpenPOWER on IntegriCloud