Makefile: enable Werror=implicit-function-declaration
This should prevent us from ever again missing an
failure similar to that one fixed in ee3254569d
(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>
This commit is contained in:
parent
92fd6af347
commit
0ddd94147b
1
Makefile
1
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__
|
||||
|
||||
|
|
Loading…
Reference in New Issue