linux/scripts/mod
Sami Tolvanen d23dddf86a 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.

Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20201211184633.3213045-12-samitolvanen@google.com
2021-01-14 08:21:09 -08:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
devicetable-offsets.c Add auxiliary bus support 2020-12-04 12:23:25 +01:00
empty.c
file2alias.c Add auxiliary bus support 2020-12-04 12:23:25 +01:00
Makefile scripts/mod: disable LTO for empty.c 2021-01-14 08:21:09 -08:00
mk_elfconfig.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
modpost.c modpost: lto: strip .lto from module names 2021-01-14 08:21:09 -08:00
modpost.h modpost: lto: strip .lto from module names 2021-01-14 08:21:09 -08:00
sumversion.c modpost: lto: strip .lto from module names 2021-01-14 08:21:09 -08:00