[PATCH] D134936: [cmake] Export `LLVM_ENABLE_LTO`.
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 30 00:52:01 PDT 2022
nikic added a comment.
No objection from my side, but I will caution about interpreting too much into the flag: At least Fedora (and I'd expect other distros as well), will build everything with LTO, but then convert bitcode to ELF in any shipped object files or static archives. So while the build is done with LTO, no LTO artifacts are exposed to the user. (Though I guess distros probably don't use LLVM_ENABLE_LTO either and instead pass global CFLAGS.)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134936/new/
https://reviews.llvm.org/D134936
More information about the llvm-commits
mailing list