diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2021-03-10 14:54:22 +0100 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2021-03-11 06:52:55 +0100 |
commit | 4c273d23c44ad49c73353737b303e78585a4503f (patch) | |
tree | 4f1d939e32e986283177ac978de47451781208eb /scripts/Makefile.lib | |
parent | kbuild: remove unneeded -O option to dtc (diff) | |
download | linux-4c273d23c44ad49c73353737b303e78585a4503f.tar.xz linux-4c273d23c44ad49c73353737b303e78585a4503f.zip |
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/Makefile.lib')
0 files changed, 0 insertions, 0 deletions