summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Garber <jgarber1@ualberta.ca>2019-06-28 11:01:04 -0600
committerMartin Roth <martinroth@google.com>2019-07-07 20:20:20 +0000
commit729d5971d23bf63873908760c39b7da36a7646fa (patch)
treefc20f8cc43680bd07c1f55403807677a0d0de7b9
parenta711e9c44dfc0c50dd1a05a8cf34d393093300b4 (diff)
downloadcoreboot-729d5971d23bf63873908760c39b7da36a7646fa.tar.xz
payloads/coreinfo: Enable -Wextra
This enables extra useful warnings. Change-Id: I3d54988935c7df9ac0dc2f7aceb56fb720c9c4d1 Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33864 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
-rw-r--r--payloads/coreinfo/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/coreinfo/Makefile b/payloads/coreinfo/Makefile
index 50659d3c0b..a98342fc2e 100644
--- a/payloads/coreinfo/Makefile
+++ b/payloads/coreinfo/Makefile
@@ -83,7 +83,7 @@ OBJCOPY := $(OBJCOPY_$(ARCH-y))
LPCC := CC="$(CC)" $(LIBPAYLOAD_OBJ)/bin/lpgcc
LPAS := AS="$(AS)" $(LIBPAYLOAD_OBJ)/bin/lpas
-CFLAGS += -Wall -Werror -Os -fno-builtin $(CFLAGS_$(ARCH-y)) $(INCLUDES)
+CFLAGS += -Wall -Wextra -Werror -Os -fno-builtin $(CFLAGS_$(ARCH-y)) $(INCLUDES)
ifneq ($(strip $(HAVE_DOTCONFIG)),)
include $(src)/.config