aboutsummaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2021-04-13 08:34:19 -0700
committerAlexei Starovoitov <ast@kernel.org>2021-04-15 16:50:21 -0700
commitf62700ce63a315b4607cc9e97aa15ea409a677b9 (patch)
treee17fdf054a8ca6c68b1b4618b7b97241df82890c /MAINTAINERS
parentselftests: Set CC to clang in lib.mk if LLVM is set (diff)
downloadlinux-dev-f62700ce63a315b4607cc9e97aa15ea409a677b9.tar.xz
linux-dev-f62700ce63a315b4607cc9e97aa15ea409a677b9.zip
tools: Allow proper CC/CXX/... override with LLVM=1 in Makefile.include
selftests/bpf/Makefile includes tools/scripts/Makefile.include. 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 the case if CC/AR/LD/CXX/STRIP is allowed to be overridden, it will be written to clang/llvm-ar/..., instead of gcc binaries. The definition of CC_NO_CLANG is also relocated to the place after the above CC is defined. Signed-off-by: Yonghong Song <yhs@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20210413153419.3028165-1-yhs@fb.com
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions