Nathan Chancellor <nathan@xxxxxxxxxx> writes: > 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 <nathan@xxxxxxxxxx> Reviewed-by: Sven Schnelle <svens@xxxxxxxxxxxxx>