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 <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-04-28 00:05:08 +08:00 committed by Masayuki Ishikawa
parent 7539d75bb4
commit 2dbf826c19

View file

@ -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