FROMLIST: efi/libstub: disable LTO
authorSami Tolvanen <samitolvanen@google.com>
Mon, 1 May 2017 18:08:05 +0000 (11:08 -0700)
committerSami Tolvanen <samitolvanen@google.com>
Thu, 26 Apr 2018 23:03:36 +0000 (16:03 -0700)
commit1642d70c0d44daf75d5b0238d97e3f6419b8e892
tree915c936887da3917806663327dd487d4579d63dc
parentfbac51e86363869e1bbbdf42a81cf26b6fe434e1
FROMLIST: efi/libstub: disable LTO

With CONFIG_LTO_CLANG, we produce LLVM IR instead of object files. Since LTO
is not really needed here and the Makefile assumes we produce an object file,
disable LTO for libstub.

Bug: 62093296
Bug: 67506682
Change-Id: Ieaa3d7e2c694655788f480f4351bf7c4d3fce090
(am from https://patchwork.kernel.org/patch/10060309/)
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
drivers/firmware/efi/libstub/Makefile