summaryrefslogtreecommitdiff
path: root/payloads/libpayload/Makefile.inc
diff options
context:
space:
mode:
authorJacob Garber <jgarber1@ualberta.ca>2019-07-19 17:35:28 -0600
committerMartin Roth <martinroth@google.com>2019-07-21 17:17:42 +0000
commit5f7b1164c56f36d70813c87e46c540e1e4aa03fc (patch)
tree810c2ec404c63339b7b536636dff3c86c9c04cf7 /payloads/libpayload/Makefile.inc
parentae317695e3f03d55fbba1805ff06e004383e67c8 (diff)
downloadcoreboot-5f7b1164c56f36d70813c87e46c540e1e4aa03fc.tar.xz
libpayload: Enable -Wimplicit-fallthrough
Add comments to intentional fall throughs and enable the warning. Change-Id: I93e071c4fb139fa6e9cd8a1bfb5800f5f4eac50b Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34457 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'payloads/libpayload/Makefile.inc')
-rw-r--r--payloads/libpayload/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/Makefile.inc b/payloads/libpayload/Makefile.inc
index 1fa07f9a7a..f0aaa2727f 100644
--- a/payloads/libpayload/Makefile.inc
+++ b/payloads/libpayload/Makefile.inc
@@ -63,7 +63,7 @@ CFLAGS += $(EXTRA_CFLAGS) $(INCLUDES) -Os -pipe -nostdinc -ggdb3
CFLAGS += -nostdlib -fno-builtin -ffreestanding -fomit-frame-pointer
CFLAGS += -ffunction-sections -fdata-sections
CFLAGS += -Wall -Wundef -Wstrict-prototypes -Wmissing-prototypes
-CFLAGS += -Wwrite-strings -Wredundant-decls -Wno-trigraphs
+CFLAGS += -Wwrite-strings -Wredundant-decls -Wno-trigraphs -Wimplicit-fallthrough
CFLAGS += -Wstrict-aliasing -Wshadow -Werror
$(obj)/libpayload-config.h: $(KCONFIG_AUTOHEADER)