From 2dbf826c19c38e641cf3209ccb68e8771f368c94 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Thu, 28 Apr 2022 00:05:08 +0800 Subject: [PATCH] config: It's enough to let LTO_FULL depend on ARCH_TOOLCHAIN_GNU only since ARCH_TOOLCHAIN_CLANG automatically select ARCH_TOOLCHAIN_GNU Signed-off-by: Xiang Xiao --- arch/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/Kconfig b/arch/Kconfig index 530f2d0d45..49b9332611 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -245,7 +245,7 @@ config LTO_NONE config LTO_FULL bool "GNU Full LTO (EXPERIMENTAL)" - depends on ARCH_TOOLCHAIN_GNU || ARCH_TOOLCHAIN_CLANG + depends on ARCH_TOOLCHAIN_GNU ---help--- Link time optimization is implemented as a GCC front end for a bytecode bytecode representation of GIMPLE that is emitted in special sections