kbuild: drop -Wno-unknown-warning-option from clang options
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 12 Apr 2017 22:25:21 +0000 (07:25 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 23 Apr 2017 07:09:15 +0000 (16:09 +0900)
commita0ae981eba8f07dbc74bce38fd3a462b69a5bc8e
tree02cbf65f38f581ce0afdcd3c0642bf5c0127b202
parentcf0c3e68aa81f992b0301f62e341b710d385bf68
kbuild: drop -Wno-unknown-warning-option from clang options

Since commit c3f0d0bc5b01 ("kbuild, LLVMLinux: Add -Werror to
cc-option to support clang"), cc-option and friends work nicely
for clang.

However, -Wno-unknown-warning-option makes clang happy with any
unknown warning options even if -Werror is specified.

Once -Wno-unknown-warning-option is added, any succeeding call of
cc-disable-warning is evaluated positive, then unknown warning
options are accepted.  This should be dropped.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Makefile
scripts/Makefile.extrawarn