diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2021-03-10 22:54:22 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2021-03-11 14:52:55 +0900 |
commit | 4c273d23c44ad49c73353737b303e78585a4503f (patch) | |
tree | 4f1d939e32e986283177ac978de47451781208eb /scripts | |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions