9
0
Fork 0

Makefile: disable warning: generating trampoline in object

Our stack is executable, so disable this warning

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2011-12-23 18:13:07 +01:00
parent 3f8c7f6f19
commit 316371d050
1 changed files with 2 additions and 0 deletions

View File

@ -454,6 +454,8 @@ CFLAGS += $(call cc-option, -fno-stack-protector)
# Use make W=1 to enable this warning (see scripts/Makefile.build)
CFLAGS += $(call cc-disable-warning, unused-but-set-variable)
CFLAGS += $(call cc-disable-warning, trampolines)
# arch Makefile may override CC so keep this after arch Makefile is included
NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include)
CHECKFLAGS += $(NOSTDINC_FLAGS)