commit | 4778a58ceef26900cd60da31688052a0faf92100 | [log] [tgz] |
---|---|---|
author | Marek BehĂșn <marek.behun@nic.cz> | Thu May 20 13:24:22 2021 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon May 24 14:21:30 2021 -0400 |
tree | df82e1281e45945237fee8e4c947c1d396f35a3f | |
parent | 2eba19263928509cb66af1e6f534cda93fd0ee1b [diff] [blame] |
ARM: make LTO available Make LTO available for ARM architecture. Signed-off-by: Marek BehĂșn <marek.behun@nic.cz> Reviewed-by: Simon Glass <sjg@chromium.org>
diff --git a/arch/arm/lib/Makefile b/arch/arm/lib/Makefile index 61bef1d..7f66332 100644 --- a/arch/arm/lib/Makefile +++ b/arch/arm/lib/Makefile
@@ -45,6 +45,8 @@ obj-y += bdinfo.o obj-y += sections.o +CFLAGS_REMOVE_sections.o := $(LTO_CFLAGS) + obj-y += stack.o ifdef CONFIG_CPU_V7M obj-y += interrupts_m.o