[PATCH] Makefile: enable Werror=implicit-function-declaration
Lucas Stach
dev at lynxeye.de
Mon Sep 15 14:51:35 PDT 2014
This should prevent us from ever again missing an
failure similar to that one fixed in ee3254569dab
(EFI: add missing include) by throwing a build error.
Signed-off-by: Lucas Stach <dev at lynxeye.de>
---
Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile b/Makefile
index b059c3a00eaa..90b2b6368554 100644
--- a/Makefile
+++ b/Makefile
@@ -300,6 +300,7 @@ LINUXINCLUDE := -Iinclude -I$(srctree)/dts/include \
CPPFLAGS := -D__KERNEL__ -D__BAREBOX__ $(LINUXINCLUDE) -fno-builtin -ffreestanding
CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
+ -Werror=implicit-function-declaration \
-fno-strict-aliasing -fno-common -Os -pipe
AFLAGS := -D__ASSEMBLY__
--
1.9.3
More information about the barebox
mailing list