Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/70250 )
Change subject: Makefile.inc: Add 'Wduplicated-branches' command option ......................................................................
Makefile.inc: Add 'Wduplicated-branches' command option
Change-Id: Ifa16c79f60a5f1506c489d89c94d775c50cc4c80 Signed-off-by: Elyes Haouas ehaouas@noos.fr --- M Makefile.inc 1 file changed, 11 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/50/70250/1
diff --git a/Makefile.inc b/Makefile.inc index 3eaabaf..f27d4ed 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -415,7 +415,7 @@ CFLAGS_common += -nostdlib -Wall -Wundef -Wstrict-prototypes -Wmissing-prototypes CFLAGS_common += -Wwrite-strings -Wredundant-decls -Wno-trigraphs -Wimplicit-fallthrough CFLAGS_common += -Wshadow -Wdate-time -Wtype-limits -Wvla -Wold-style-definition -CFLAGS_common += -Wdangling-else +CFLAGS_common += -Wdangling-else -Wduplicated-branches CFLAGS_common += -fno-common -ffreestanding -fno-builtin -fomit-frame-pointer CFLAGS_common += -fstrict-aliasing -ffunction-sections -fdata-sections -fno-pie ifeq ($(CONFIG_COMPILER_GCC),y)