Skip to content

Commit 1e68a8a

Browse files
nathanchancemasahir0y
authored andcommitted
arch/Kconfig: Remove CLANG_VERSION check in HAS_LTO_CLANG
The minimum supported version of LLVM has been raised to 11.0.0, meaning this check is always true, so it can be dropped. Signed-off-by: Nathan Chancellor <[email protected]> Reviewed-by: Miguel Ojeda <[email protected]> Reviewed-by: Mark Brown <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]> Reviewed-by: Kees Cook <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
1 parent 57b2b72 commit 1e68a8a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

arch/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -648,8 +648,7 @@ config ARCH_SUPPORTS_LTO_CLANG_THIN
648648

649649
config HAS_LTO_CLANG
650650
def_bool y
651-
# Clang >= 11: https://github.com/ClangBuiltLinux/linux/issues/510
652-
depends on CC_IS_CLANG && CLANG_VERSION >= 110000 && LD_IS_LLD && AS_IS_LLVM
651+
depends on CC_IS_CLANG && LD_IS_LLD && AS_IS_LLVM
653652
depends on $(success,$(NM) --help | head -n 1 | grep -qi llvm)
654653
depends on $(success,$(AR) --help | head -n 1 | grep -qi llvm)
655654
depends on ARCH_SUPPORTS_LTO_CLANG

0 commit comments

Comments
 (0)