commit | 4c273d23c44ad49c73353737b303e78585a4503f | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <masahiroy@kernel.org> | Wed Mar 10 22:54:22 2021 +0900 |
committer | Masahiro Yamada <masahiroy@kernel.org> | Thu Mar 11 14:52:55 2021 +0900 |
tree | 4f1d939e32e986283177ac978de47451781208eb | |
parent | 64bfc99429a5c9613fffb0e54f2f8c2ddc8c1d04 [diff] |
kbuild: remove LLVM=1 test from HAS_LTO_CLANG As Documentation/kbuild/llvm.rst notes, LLVM=1 switches the default of tools, but you can still override CC, LD, etc. individually. This LLVM=1 check is unneeded because each tool is already checked separately. "make CC=clang LD=ld.lld NM=llvm-nm AR=llvm-ar LLVM_IAS=1 menuconfig" should be able to enable Clang LTO. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nathan Chancellor <nathan@kernel.org>