Tweak inlining parameters a little. Add warning to tell us if function

we declared as inline can not be inlined.
This commit is contained in:
Alexander Kabaev 2007-05-19 05:07:47 +00:00
parent d586dea015
commit 12c95a2554
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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