diff options
author | Nathan Chancellor <nathan@kernel.org> | 2023-01-12 06:05:11 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-01-26 06:43:26 +0300 |
commit | 8d9acfce33329d1f4b0f0969a9ba884bea7501c6 (patch) | |
tree | 1ce7378faf820850b6608a71670afadd9d13e266 /scripts/checkkconfigsymbols.py | |
parent | db1547c56886742283d7566c872f89cbad76a14c (diff) | |
download | linux-8d9acfce33329d1f4b0f0969a9ba884bea7501c6.tar.xz |
kbuild: Stop using '-Qunused-arguments' with clang
This option masks all unused command line argument warnings, which can
hide potential issues, such as an architecture Makefile adding an
unsupported flag to KBUILD_AFLAGS or KBUILD_CFLAGS, which will cause all
as-option and cc-options to silently fail due to -Werror with no
indication as to why in the main kernel build.
Remove this flag so that warnings of this nature can be caught early and
obviously in a build.
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org>
Tested-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/checkkconfigsymbols.py')
0 files changed, 0 insertions, 0 deletions