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 | ||
| Makefile | ||
| gen_vdso_offsets.sh | ||
| getcpu.c | ||
| note.S | ||
| vdso.h | ||
| vdso64.lds.S | ||
| vdso64_generic.c | ||
| vdso64_wrapper.S | ||
| vdso_user_wrapper.S | ||