summaryrefslogtreecommitdiffstats
path: root/tools/scripts
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2021-04-13 17:34:13 +0200
committerAlexei Starovoitov <ast@kernel.org>2021-04-16 01:50:21 +0200
commit26e6dd1072763cd5696b75994c03982dde952ad9 (patch)
tree1d0e7086620667c3a2145fdc78b95a5a310e9513 /tools/scripts
parentlibbpf: Remove unused field. (diff)
downloadlinux-26e6dd1072763cd5696b75994c03982dde952ad9.tar.xz
linux-26e6dd1072763cd5696b75994c03982dde952ad9.zip
selftests: Set CC to clang in lib.mk if LLVM is set
selftests/bpf/Makefile includes lib.mk. With the following command make -j60 LLVM=1 LLVM_IAS=1 <=== compile kernel make -j60 -C tools/testing/selftests/bpf LLVM=1 LLVM_IAS=1 V=1 some files are still compiled with gcc. This patch fixed lib.mk issue which sets CC to gcc in all cases. Signed-off-by: Yonghong Song <yhs@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20210413153413.3027426-1-yhs@fb.com
Diffstat (limited to 'tools/scripts')
0 files changed, 0 insertions, 0 deletions