Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
build: add lto configure option #10800
Addresses #10616. Please see the commit messages and note that AR/RANLIB may need to be set manually!
This is testing the waters for LTO. There are a few unknowns:
I propose adding this as-is (maybe after Gitian testing), and seeking feedback. I suspect that there will be quite a few platforms/toolchains where it's broken, but there's only so much we can do about it.