summaryrefslogtreecommitdiff
path: root/arch/um/Kconfig
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@pefoley.com>2023-01-13 12:03:00 -0500
committerRichard Weinberger <richard@nod.at>2023-02-13 10:14:31 +0100
commit83e913f52aba69149261742aa9ea4ceea7bf182d (patch)
tree5193ef9b2936fc2074369a5042a57e4efe985934 /arch/um/Kconfig
parentf09c3fcf67a3294c981b861981143e38895c5a59 (diff)
um: Support LTO
Only a handful of changes are necessary to get it to work. Signed-off-by: Peter Foley <pefoley2@pefoley.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/Kconfig')
-rw-r--r--arch/um/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/um/Kconfig b/arch/um/Kconfig
index dc36ea6e508f..541a9b18e343 100644
--- a/arch/um/Kconfig
+++ b/arch/um/Kconfig
@@ -25,6 +25,8 @@ config UML
select GENERIC_IRQ_SHOW
select GENERIC_CPU_DEVICES
select HAVE_GCC_PLUGINS
+ select ARCH_SUPPORTS_LTO_CLANG
+ select ARCH_SUPPORTS_LTO_CLANG_THIN
select TRACE_IRQFLAGS_SUPPORT
select TTY # Needed for line.c
select HAVE_ARCH_VMAP_STACK