kbuild: add some extra warning flags unconditionally
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 9 May 2019 06:46:35 +0000 (15:46 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 18 May 2019 02:49:53 +0000 (11:49 +0900)
commit4c8dd95a723d9cccf8810be54aa62be82885c9d8
treec16d9cc53cea5beab8fa8b11780db1edd992257e
parent8289f913fe12644a9358c12df3da5bd4e7767df0
kbuild: add some extra warning flags unconditionally

These flags are documented in the GCC 4.6 manual, and recognized by
Clang as well. Let's rip off the cc-option / cc-disable-warning switches.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
scripts/Makefile.extrawarn