build: add lto configure option

Pull Request #10800

State completed
Build time Total: 44 minutes
8 minutes for macOS
15 minutes for Windows
21 minutes for Linux
Platforms   
Start Date2017-07-12 11:23:40 UTC
Github#10800
Head:
Mergable:
Changed files:
Comments:
Author theuni
Pull request head hashe05d1c20
Build styleThis pull request was built on top of current master
Build Log HEAD~6c4697fa Merge branch 'enable-lto' of https://github.com/theuni/bitcoin
e05d1c2 lto: add --enable-lto option
1827368 lto: workaround for boost issue
e8b9523 Merge #10712: Add change output if necessary to reduce excess fee
0f402b9 Fix rare edge case of paying too many fees when transaction has no change.
253cd7e Only reserve key for scriptChange once in CreateTransaction