From baa977bd0f63c48ffd57c65f052d5a6c8f6f0fc1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Beh=C3=BAn?= Date: Thu, 20 May 2021 13:24:19 +0200 Subject: [PATCH] ARM: omap3: fix LTO for DM3730 (and possibly other omap3 boards) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Adam Ford says that DM3730 needs board.c compiled without LTO flags. Signed-off-by: Marek Behún Tested-by: Adam Ford --- arch/arm/mach-omap2/omap3/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-omap2/omap3/Makefile b/arch/arm/mach-omap2/omap3/Makefile index 91ed8ebc9f..151bdf6ebc 100644 --- a/arch/arm/mach-omap2/omap3/Makefile +++ b/arch/arm/mach-omap2/omap3/Makefile @@ -9,6 +9,7 @@ CFLAGS_clock.o += -marm obj-y := lowlevel_init.o obj-y += board.o +CFLAGS_REMOVE_board.o := $(LTO_CFLAGS) obj-y += boot.o obj-y += clock.o obj-y += sys_info.o -- 2.39.5