Commit 4b44c97f authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Greg Hackmann
Browse files

UPSTREAM: 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>
(cherry picked from commit a0ae981e)
Signed-off-by: default avatarGreg Hackmann <ghackmann@google.com>

Change-Id: I0535e20fbcecc2d431e9f08b1f274c5d96626af1
parent 03e66b36
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment