aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools/run-clang-tools.py
diff options
context:
space:
mode:
authorNathan Chancellor <[email protected]>2023-01-12 03:05:07 +0000
committerMasahiro Yamada <[email protected]>2023-01-26 03:42:57 +0000
commitfd8589dce8107e2ce62e92f76089654462dd67b4 (patch)
tree7df1777ce502ff14395d7a7494400cc1e783f42f /scripts/clang-tools/run-clang-tools.py
parents390/vdso: Drop unused '-s' flag from KBUILD_AFLAGS_64 (diff)
downloadkernel-fd8589dce8107e2ce62e92f76089654462dd67b4.tar.gz
kernel-fd8589dce8107e2ce62e92f76089654462dd67b4.zip
s390/vdso: Drop '-shared' from KBUILD_CFLAGS_64
When clang's -Qunused-arguments is dropped from KBUILD_CPPFLAGS, it points out that there is a linking phase flag added to CFLAGS, which will only be used for compiling clang-16: error: argument unused during compilation: '-shared' [-Werror,-Wunused-command-line-argument] '-shared' is already present in ldflags-y so it can just be dropped. Fixes: 2b2a25845d53 ("s390/vdso: Use $(LD) instead of $(CC) to link vDSO") 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