From: Marek Vasut Date: Tue, 11 Sep 2012 21:08:26 +0200 Subject: [U-Boot] [PATCH 1/2] bfin: Disable -fstack-usage Message-ID: <1347390507-27299-1-git-send-email-marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de The GCC does not support this on blackfin, disable it. Signed-off-by: Marek Vasut Cc: Mike Frysinger --- config.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.mk b/config.mk index c3822a2..d39355f 100644 --- a/config.mk +++ b/config.mk @@ -245,8 +245,10 @@ CFLAGS_WARN := $(call cc-option,-Wno-format-nonliteral) \ CFLAGS += $(CFLAGS_WARN) # Report stack usage if supported +ifneq ($(ARCH),blackfin) CFLAGS_STACK := $(call cc-option,-fstack-usage) CFLAGS += $(CFLAGS_STACK) +endif # $(CPPFLAGS) sets -g, which causes gcc to pass a suitable -g # option to the assembler. -- 1.7.10.4