diff options
author | Tom Rini <trini@ti.com> | 2012-02-20 13:50:10 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-03-26 23:09:24 +0200 |
commit | 4a30f1e874a269696b983bd66673809c431edbc0 (patch) | |
tree | 82fa6194eb580708f49b95339f3d2b6f71076aab /config.mk | |
parent | 6f4acc179cd73203ed9927751af083dd666c3636 (diff) | |
download | u-boot-imx-4a30f1e874a269696b983bd66673809c431edbc0.zip u-boot-imx-4a30f1e874a269696b983bd66673809c431edbc0.tar.gz u-boot-imx-4a30f1e874a269696b983bd66673809c431edbc0.tar.bz2 |
config.mk: Check for -fstack-usage support
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -232,6 +232,10 @@ CFLAGS_WARN := $(call cc-option,-Wno-format-nonliteral) \ $(call cc-option,-Wno-format-security) CFLAGS += $(CFLAGS_WARN) +# Report stack usage if supported +CFLAGS_STACK := $(call cc-option,-fstack-usage) +CFLAGS += $(CFLAGS_STACK) + # $(CPPFLAGS) sets -g, which causes gcc to pass a suitable -g<format> # option to the assembler. AFLAGS_DEBUG := |