commit | d23dddf86a12c96d9a3d135a567b9716e5b47821 | [log] [tgz] |
---|---|---|
author | Sami Tolvanen <samitolvanen@google.com> | Fri Dec 11 10:46:28 2020 -0800 |
committer | Kees Cook <keescook@chromium.org> | Thu Jan 14 08:21:09 2021 -0800 |
tree | 4a6f5114d11f69619b74c40ccb3f12f0acb5e9a7 | |
parent | 7ac204b545f263c7595a8b5ec3797ae9f9954f82 [diff] |
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