On 06/05/2024 00:00, John Hubbard wrote:
When building either tools/bpf/bpftool, or tools/testing/selftests/hid, (the same Makefile is used for these), clang generates many instances of the following:
"clang: warning: -lLLVM-17: 'linker' input unused"
Quentin points out that the LLVM version is only required in $(LIBS), not in $(CFLAGS), so the fix is to remove it from CFLAGS.
Suggested-by: Quentin Monnet qmo@kernel.org Signed-off-by: John Hubbard jhubbard@nvidia.com
Acked-by: Quentin Monnet qmo@kernel.org
Thank you!