From f3ab3cc8506013fe503df538a595cf1b31d93a0d Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 24 Jun 2020 08:31:26 +0200 Subject: [PATCH] Revert "ANDROID: kbuild: merge module sections with LTO" This reverts commit b4205c196ffcaa36c98e9b18b953b4517c16e97e as the LTO feature causes merge issues with 5.8-rc1. So remove it for now and allow the developer to add the latest version of the patches later on. Cc: Sami Tolvanen Signed-off-by: Greg Kroah-Hartman Change-Id: I63a1a1e99642b0f4b4437e9c10cdc2ff99045b9e --- Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Makefile b/Makefile index 43f8573f3c65..61aaf028d5d5 100644 --- a/Makefile +++ b/Makefile @@ -884,8 +884,6 @@ else CC_FLAGS_LTO_CLANG := -flto endif CC_FLAGS_LTO_CLANG += -fvisibility=default - -KBUILD_LDS_MODULE += scripts/module-lto.lds endif ifdef CONFIG_LTO