diff options
-rw-r--r-- | Makefile.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.mk b/Makefile.mk index 1b658b58c2..7be4685eff 100644 --- a/Makefile.mk +++ b/Makefile.mk @@ -528,6 +528,7 @@ CFLAGS_common += -fno-pie CFLAGS_common += -Wstring-compare ifeq ($(CONFIG_COMPILER_GCC),y) CFLAGS_common += -Wold-style-declaration +CFLAGS_common += -Walloc-size # Don't add these GCC specific flags when running scan-build ifeq ($(CCC_ANALYZER_OUTPUT_FORMAT),) CFLAGS_common += -Wno-packed-not-aligned |