Re-enable LTO (#22287)

LTO seems to work fine now. It was possibly fixed by either the LLVM13 upgrade
or by b2ed47a925,
which fixed a LTO issue with tests.
This commit is contained in:
Alessandro Decina
2022-01-06 09:16:50 +11:00
committed by GitHub
parent bb3a1b6b31
commit 959ea26816
2 changed files with 12 additions and 19 deletions

View File

@ -14,5 +14,3 @@ export CC="$bpf_sdk/dependencies/bpf-tools/llvm/bin/clang"
export AR="$bpf_sdk/dependencies/bpf-tools/llvm/bin/llvm-ar"
export OBJDUMP="$bpf_sdk/dependencies/bpf-tools/llvm/bin/llvm-objdump"
export OBJCOPY="$bpf_sdk/dependencies/bpf-tools/llvm/bin/llvm-objcopy"
export RUSTFLAGS="${RUSTFLAGS} -C lto=no"