The upstream LLVM supports now LTO on PPC, enable it. Signed-off-by: Alexey Kardashevskiy <a...@ozlabs.ru> --- arch/powerpc/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index b779603978e1..91c122224f83 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -153,6 +153,8 @@ config PPC select ARCH_WANT_IRQS_OFF_ACTIVATE_MM select ARCH_WANT_LD_ORPHAN_WARN select ARCH_WEAK_RELEASE_ACQUIRE + select ARCH_SUPPORTS_LTO_CLANG if PPC64 + select ARCH_SUPPORTS_LTO_CLANG_THIN if PPC64 select BINFMT_ELF select BUILDTIME_TABLE_SORT select CLONE_BACKWARDS -- 2.30.2