Skip to content
Commit a0ae981e authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kbuild: drop -Wno-unknown-warning-option from clang options



Since commit c3f0d0bc ("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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent cf0c3e68
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment