OSDN Git Service

FROMLIST: scripts/mod: disable LTO for empty.c
authorSami Tolvanen <samitolvanen@google.com>
Mon, 10 Apr 2017 19:32:24 +0000 (12:32 -0700)
committer0ranko0P <ranko0p@outlook.com>
Sat, 7 Dec 2019 08:54:51 +0000 (16:54 +0800)
commit99c4b0accf2a054eb1bc10f08993c2cb28fc2b3e
tree9f0186dfdbd12edb97961ea270ada51588f1951b
parentd5c975f6635be34f4ccc6fff895d79ba5f136ae8
FROMLIST: scripts/mod: disable LTO for empty.c

With CONFIG_LTO_CLANG, clang generates LLVM IR instead of ELF object
files. As empty.o is used for probing target properties, disable LTO
for it to produce an object file instead.

Bug: 62093296
Bug: 67506682
Change-Id: I0c7ac7ee0134465cac4a8c3a9c7e8b6347076a2b
(am from https://patchwork.kernel.org/patch/10060317/)
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
scripts/mod/Makefile