Commit 1e0f4dad authored by Sami Tolvanen's avatar Sami Tolvanen Committed by Amit Pundir
Browse files

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
Bug: 133186739
Change-Id: I0c7ac7ee0134465cac4a8c3a9c7e8b6347076a2b
(am from https://patchwork.kernel.org/patch/10060317/

)
Signed-off-by: default avatarSami Tolvanen <samitolvanen@google.com>

Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent 1a304476
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment