summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/gptboot/Makefile
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2014-01-09 23:08:56 +0000
committerdim <dim@FreeBSD.org>2014-01-09 23:08:56 +0000
commit01c13c7d48e84e413da6bd014d32c8f5f0787d69 (patch)
tree64c554f66dfcadcb722052a83873055a9d9cabd5 /sys/boot/i386/gptboot/Makefile
parent999774a8ef8eaa6132d3de64eebac307c223d29c (diff)
downloadFreeBSD-src-01c13c7d48e84e413da6bd014d32c8f5f0787d69.zip
FreeBSD-src-01c13c7d48e84e413da6bd014d32c8f5f0787d69.tar.gz
MFC r260334:
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 r260369: Apply band-aid for 32-bit compat libs failures after r260334: put back -Qunused-arguments for clang for now, until I can figure out a way to make it unneeded in all scenarios. Sorry about the breakage.
Diffstat (limited to 'sys/boot/i386/gptboot/Makefile')
-rw-r--r--sys/boot/i386/gptboot/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/boot/i386/gptboot/Makefile b/sys/boot/i386/gptboot/Makefile
index 6ac9583..4806f13 100644
--- a/sys/boot/i386/gptboot/Makefile
+++ b/sys/boot/i386/gptboot/Makefile
@@ -35,7 +35,9 @@ CFLAGS= -DBOOTPROG=\"gptboot\" \
-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