Skip to content

Commit b89f25e

Browse files
lucvoomasahir0y
authored andcommitted
kbuild: use -Werror=implicit-... instead of -Werror-implicit-...
The flag '-Werror-implicit-function-declaration', present in GCC 2.95, stopped to be documented in GCC 4.3, replaced by the more generic '-Werror=...' form. So, use the equivalent '-Werror=implicit-function-declaration' instead. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
1 parent fa7295a commit b89f25e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ LINUXINCLUDE := \
430430
KBUILD_AFLAGS := -D__ASSEMBLY__ -fno-PIE
431431
KBUILD_CFLAGS := -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs \
432432
-fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE \
433-
-Werror-implicit-function-declaration -Werror=implicit-int \
433+
-Werror=implicit-function-declaration -Werror=implicit-int \
434434
-Wno-format-security \
435435
-std=gnu89
436436
KBUILD_CPPFLAGS := -D__KERNEL__

0 commit comments

Comments
 (0)