summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-12-23 18:13:07 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-01-02 14:53:17 +0100
commit316371d050143550a415679454013adfb3adca04 (patch)
tree0ab974b7759fbc2b9677dbf6f11087127ab1cc7b /Makefile
parent3f8c7f6f197779b11916196a82fc71134e3402b9 (diff)
downloadbarebox-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--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d96fc88433..c64a3cbce6 100644
--- a/Makefile
+++ b/Makefile
@@ -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)