ARM: don't use -ffunction-sections/-fdata-sections with LTO build
authorMarek Behún <marek.behun@nic.cz>
Thu, 20 May 2021 11:24:23 +0000 (13:24 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 24 May 2021 18:21:30 +0000 (14:21 -0400)
commit75c7d10c1f61ff509bcbe00284b7424b55c9ed92
treebff0fabbf0cf3b2ec77d40d36bf510c24f49e2eb
parent8f9696510afc2b52ebeba5d1db4883cf3331c206
ARM: don't use -ffunction-sections/-fdata-sections with LTO build

When building with LTO, using -ffunction-sections/-fdata-sections is not
useful anymore.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/config.mk