summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/gptboot/Makefile
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2007-05-19 05:07:47 +0000
committerkan <kan@FreeBSD.org>2007-05-19 05:07:47 +0000
commit15bdc412d800701a554f5c50c4aae7b975a48332 (patch)
tree5950a1951be20a5bb6bc2da7be86017eecb21563 /sys/boot/i386/gptboot/Makefile
parentc72540f5823b7fa155fad35cc7aa2106f364baad (diff)
downloadFreeBSD-src-15bdc412d800701a554f5c50c4aae7b975a48332.zip
FreeBSD-src-15bdc412d800701a554f5c50c4aae7b975a48332.tar.gz
Tweak inlining parameters a little. Add warning to tell us if function
we declared as inline can not be inlined.
Diffstat (limited to 'sys/boot/i386/gptboot/Makefile')
-rw-r--r--sys/boot/i386/gptboot/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/boot/i386/gptboot/Makefile b/sys/boot/i386/gptboot/Makefile
index 831e2d0..81e407d 100644
--- a/sys/boot/i386/gptboot/Makefile
+++ b/sys/boot/i386/gptboot/Makefile
@@ -36,7 +36,8 @@ CFLAGS= -Os \
-I${.CURDIR}/../btx/lib -I. \
-Wall -Waggregate-return -Wbad-function-cast -Wcast-align \
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs \
- -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings
+ -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings \
+ -Winline --param max-inline-insns-single=100
LDFLAGS=-static -N --gc-sections
OpenPOWER on IntegriCloud