Commit 8fe8aa47 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Nick Desaulniers
Browse files

UPSTREAM: 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: default avatarMasahiro Yamada <masahiroy@kernel.org>
Reviewed-by: default avatarNathan Chancellor <nathan@kernel.org>
Bug: 209655537
(cherry picked from commit 4c273d23)
Change-Id: Ieb1f4bbf98521b929c42253260a9a5aec25e73e2
parent a0723f1f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment