[ Upstream commit fd8589dce8107e2ce62e92f76089654462dd67b4 ]
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:
|
||
---|---|---|
.. | ||
.gitignore | ||
gen_vdso_offsets.sh | ||
getcpu.c | ||
Makefile | ||
note.S | ||
vdso64_generic.c | ||
vdso64_wrapper.S | ||
vdso64.lds.S | ||
vdso_user_wrapper.S | ||
vdso.h |