diff options
author | Sami Tolvanen <[email protected]> | 2020-12-11 10:46:28 -0800 |
---|---|---|
committer | Kees Cook <[email protected]> | 2021-01-14 08:21:09 -0800 |
commit | d23dddf86a12c96d9a3d135a567b9716e5b47821 (patch) | |
tree | 4a6f5114d11f69619b74c40ccb3f12f0acb5e9a7 /scripts/bpf_helpers_doc.py | |
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 <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions