Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/81640?usp=email )
Change subject: Makefile: Enable Warray-bounds command option ......................................................................
Makefile: Enable Warray-bounds command option
Change-Id: I827c23dd08fb42348d1b5eadba360561662fc330 Signed-off-by: Elyes Haouas ehaouas@noos.fr --- M Makefile.mk 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/40/81640/1
diff --git a/Makefile.mk b/Makefile.mk index d7110a9..0bbc43c 100644 --- a/Makefile.mk +++ b/Makefile.mk @@ -500,7 +500,7 @@ CFLAGS_common += -fstrict-aliasing -ffunction-sections -fdata-sections -fno-pie CFLAGS_common += -Wstring-compare ifeq ($(CONFIG_COMPILER_GCC),y) -CFLAGS_common += -Wold-style-declaration +CFLAGS_common += -Wold-style-declaration -Warray-bounds # Don't add these GCC specific flags when running scan-build ifeq ($(CCC_ANALYZER_OUTPUT_FORMAT),) CFLAGS_common += -Wno-packed-not-aligned