diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-12-23 18:13:07 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-01-02 14:53:17 +0100 |
commit | 316371d050143550a415679454013adfb3adca04 (patch) | |
tree | 0ab974b7759fbc2b9677dbf6f11087127ab1cc7b /Makefile | |
parent | 3f8c7f6f197779b11916196a82fc71134e3402b9 (diff) | |
download | barebox-316371d050143550a415679454013adfb3adca04.tar.gz barebox-316371d050143550a415679454013adfb3adca04.tar.xz |
Makefile: disable warning: generating trampoline in object
Our stack is executable, so disable this warning
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |