kbuild: add -Werror=strict-prototypes flag unconditionally
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 14 Dec 2018 08:05:38 +0000 (17:05 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 16 Dec 2018 15:33:45 +0000 (00:33 +0900)
commiteeb5687a7139649e1724674441580b778f5ff7ab
tree5a4dc04f50c93fa4ac74da7d357f7429725ab008
parent42a92bccd213ce4b7198d2e943ac0efe88cbe1aa
kbuild: add -Werror=strict-prototypes flag unconditionally

-Wstrict-prototypes is added to KBUILD_CFLAGS first, then overridden
by -Werror=strict-prototypes later.

Let's add -Werror=strict-prototypes unconditionally because it is
supported by GCC 4.6, and also by Clang.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Makefile