diff options
author | kan <kan@FreeBSD.org> | 2007-05-19 05:07:47 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2007-05-19 05:07:47 +0000 |
commit | 15bdc412d800701a554f5c50c4aae7b975a48332 (patch) | |
tree | 5950a1951be20a5bb6bc2da7be86017eecb21563 /sys | |
parent | c72540f5823b7fa155fad35cc7aa2106f364baad (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/boot/i386/boot2/Makefile | 3 | ||||
-rw-r--r-- | sys/boot/i386/gptboot/Makefile | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile index 831e2d0..81e407d 100644 --- a/sys/boot/i386/boot2/Makefile +++ b/sys/boot/i386/boot2/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 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 |