summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLucas Stach <dev@lynxeye.de>2014-09-15 23:51:35 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-09-16 16:37:29 +0200
commit0ddd94147b99eb57c024ad3fb8e13fd485190584 (patch)
tree76301750aba479ba0b8848b9a2554c5cd9fcef6f /Makefile
parent92fd6af3476bffdf53242efc4dc6ef83b2aa22ce (diff)
downloadbarebox-0ddd94147b99eb57c024ad3fb8e13fd485190584.tar.gz
barebox-0ddd94147b99eb57c024ad3fb8e13fd485190584.tar.xz
Makefile: enable Werror=implicit-function-declaration
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@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b059c3a00e..81a803da90 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__