s390/vdso: Drop unused '-s' flag from KBUILD_AFLAGS_64
When clang's -Qunused-arguments is dropped from KBUILD_CPPFLAGS, it warns: clang-16: error: argument unused during compilation: '-s' [-Werror,-Wunused-command-line-argument] The compiler's '-s' flag is a linking option (it is passed along to the linker directly), which means it does nothing when the linker is not invoked by the compiler. The kernel builds all .o files with '-c', which stops the compilation pipeline before linking, so '-s' can be safely dropped from KBUILD_AFLAGS_64. Signed-off-by: NNathan Chancellor <nathan@kernel.org> Acked-by: NHeiko Carstens <hca@linux.ibm.com> Reviewed-by: NSven Schnelle <svens@linux.ibm.com> Tested-by: NLinux Kernel Functional Testing <lkft@linaro.org> Tested-by: NAnders Roxell <anders.roxell@linaro.org> Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
Showing
想要评论请 注册 或 登录