summaryrefslogtreecommitdiff
path: root/payloads/coreinfo/Makefile
diff options
context:
space:
mode:
authorJacob Garber <jgarber1@ualberta.ca>2019-06-29 11:04:42 -0600
committerMartin Roth <martinroth@google.com>2019-07-07 20:21:09 +0000
commite2e8ccefd7aa74add617f67b62977c946c20d759 (patch)
treed7618437fdf8e051a4ce551f3367f6bd72caae01 /payloads/coreinfo/Makefile
parent609305fa764470b114237cfcfb0d2a795c5e6abb (diff)
downloadcoreboot-e2e8ccefd7aa74add617f67b62977c946c20d759.tar.xz
payloads/coreinfo: Enable -Wmissing-prototypes
Change-Id: I7ee9436ba71ceea35a35272291ea245c0b7c37c5 Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33866 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'payloads/coreinfo/Makefile')
-rw-r--r--payloads/coreinfo/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/payloads/coreinfo/Makefile b/payloads/coreinfo/Makefile
index a98342fc2e..1e9eb80d20 100644
--- a/payloads/coreinfo/Makefile
+++ b/payloads/coreinfo/Makefile
@@ -83,7 +83,8 @@ OBJCOPY := $(OBJCOPY_$(ARCH-y))
LPCC := CC="$(CC)" $(LIBPAYLOAD_OBJ)/bin/lpgcc
LPAS := AS="$(AS)" $(LIBPAYLOAD_OBJ)/bin/lpas
-CFLAGS += -Wall -Wextra -Werror -Os -fno-builtin $(CFLAGS_$(ARCH-y)) $(INCLUDES)
+CFLAGS += -Wall -Wextra -Wmissing-prototypes -Werror
+CFLAGS += -Os -fno-builtin $(CFLAGS_$(ARCH-y)) $(INCLUDES)
ifneq ($(strip $(HAVE_DOTCONFIG)),)
include $(src)/.config