diff options
author | Lucas Stach <dev@lynxeye.de> | 2014-09-15 23:51:35 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-09-16 16:37:29 +0200 |
commit | 0ddd94147b99eb57c024ad3fb8e13fd485190584 (patch) | |
tree | 76301750aba479ba0b8848b9a2554c5cd9fcef6f /Makefile | |
parent | 92fd6af3476bffdf53242efc4dc6ef83b2aa22ce (diff) | |
download | barebox-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-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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__ |