[PATCH 5/5] Makefile: disable warning: generating trampoline in object

Sascha Hauer s.hauer at pengutronix.de
Mon Jan 2 08:57:14 EST 2012


Our stack is executable, so disable this warning

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 Makefile |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index d96fc88..c64a3cb 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)
-- 
1.7.7.3




More information about the barebox mailing list