summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/zfsboot
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2014-01-05 21:03:49 +0000
committerdim <dim@FreeBSD.org>2014-01-05 21:03:49 +0000
commit3c9bc33d22e5a91db618a04de190a08403ef2833 (patch)
tree46d53bcdc43359c7af392a81316a0d8af7a56eac /sys/boot/i386/zfsboot
parent1b0fae4d63d88b92e5d27f2f09dbac1c90286ac4 (diff)
downloadFreeBSD-src-3c9bc33d22e5a91db618a04de190a08403ef2833.zip
FreeBSD-src-3c9bc33d22e5a91db618a04de190a08403ef2833.tar.gz
Split the last gcc-specific flags off into CFLAGS.gcc. This also
removes the need to use -Qunused-arguments for clang throughout the tree. MFC after: 3 days
Diffstat (limited to 'sys/boot/i386/zfsboot')
-rw-r--r--sys/boot/i386/zfsboot/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/boot/i386/zfsboot/Makefile b/sys/boot/i386/zfsboot/Makefile
index a8438a1..b70aa9e 100644
--- a/sys/boot/i386/zfsboot/Makefile
+++ b/sys/boot/i386/zfsboot/Makefile
@@ -29,7 +29,9 @@ CFLAGS= -DBOOTPROG=\"zfsboot\" \
-Wall -Waggregate-return -Wbad-function-cast -Wcast-align \
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs \
-Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings \
- -Winline --param max-inline-insns-single=100
+ -Winline
+
+CFLAGS.gcc+= --param max-inline-insns-single=100
LD_FLAGS=-static -N --gc-sections
OpenPOWER on IntegriCloud