From 01c13c7d48e84e413da6bd014d32c8f5f0787d69 Mon Sep 17 00:00:00 2001 From: dim Date: Thu, 9 Jan 2014 23:08:56 +0000 Subject: 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. --- sys/boot/i386/boot2/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/boot/i386/boot2/Makefile') diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile index f9c0ed1..1391ac4 100644 --- a/sys/boot/i386/boot2/Makefile +++ b/sys/boot/i386/boot2/Makefile @@ -37,12 +37,13 @@ CFLAGS= -Os \ -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 \ ${CLANG_OPT_SMALL} CFLAGS.gcc+= -fno-guess-branch-probability \ -fno-unit-at-a-time \ -mno-align-long-strings \ + --param max-inline-insns-single=100 LD_FLAGS=-static -N --gc-sections -- cgit v1.1