FROMLIST: scripts/mod: disable LTO for empty.c
authorSami Tolvanen <samitolvanen@google.com>
Mon, 10 Apr 2017 19:32:24 +0000 (12:32 -0700)
committerSami Tolvanen <samitolvanen@google.com>
Thu, 26 Apr 2018 23:03:36 +0000 (16:03 -0700)
commitfbac51e86363869e1bbbdf42a81cf26b6fe434e1
tree04713453a42e9f08c1eab0bd8ec7e6fc8d7bb270
parent9abcee5156e441679298a03a5af29675c6161802
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