X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=config.mk;h=fa33e628513ce78c097f33821f77794a569c74d4;hb=148241053123f3c2388d755807438fbe44dd2139;hp=596ba935926f6e2eb76b16ea280391012c24eacf;hpb=6f4acc179cd73203ed9927751af083dd666c3636;p=u-boot diff --git a/config.mk b/config.mk index 596ba93592..fa33e62851 100644 --- a/config.mk +++ b/config.mk @@ -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 # option to the assembler. AFLAGS_DEBUG :=