diff options
| author | Nathan Chancellor <[email protected]> | 2023-01-12 03:05:08 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2023-01-26 03:43:05 +0000 |
| commit | 66bfe497d044a0dd4505e5179b3874b1a869c0b1 (patch) | |
| tree | 2a6ce46131d62d233bd59ea9a19a3fa1e48a04cf /scripts/clang-tools/run-clang-tools.py | |
| parent | s390/vdso: Drop '-shared' from KBUILD_CFLAGS_64 (diff) | |
| download | kernel-66bfe497d044a0dd4505e5179b3874b1a869c0b1.tar.gz kernel-66bfe497d044a0dd4505e5179b3874b1a869c0b1.zip | |
s390/purgatory: Remove unused '-MD' and unnecessary '-c' flags
When clang's -Qunused-arguments is dropped from KBUILD_CPPFLAGS, it
warns while building objects in the purgatory folder:
clang-16: error: argument unused during compilation: '-MD' [-Werror,-Wunused-command-line-argument]
'-MMD' is always passed to the preprocessor via c_flags, even when
KBUILD_CFLAGS is overridden in a folder, so clang complains the addition
of '-MD' will be unused. Remove '-MD' to clear up this warning, as it is
unnecessary with '-MMD'.
Additionally, '-c' is also unnecessary, remove it while in the area.
Signed-off-by: Nathan Chancellor <[email protected]>
Acked-by: Heiko Carstens <[email protected]>
Reviewed-by: Sven Schnelle <[email protected]>
Tested-by: Linux Kernel Functional Testing <[email protected]>
Tested-by: Anders Roxell <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'scripts/clang-tools/run-clang-tools.py')
0 files changed, 0 insertions, 0 deletions
