diff --git a/Makefile.common b/Makefile.common index cae7a502..d863610c 100644 --- a/Makefile.common +++ b/Makefile.common @@ -230,6 +230,7 @@ ifeq ($(DEBUG), 1) CFLAGS += -g -gdwarf-2 endif +CFLAGS += -fstack-usage -Wstack-usage=20480 # Generate dependency information CFLAGS += -MMD -MP -MF"$(@:%.o=%.d)"