Created attachment 221950 [details]
For some reason, I was unable to build Firefox with LTO on 12.2-RELEASE, but it works on 13.0-ALPHA2 (both amd64).
On 12.2-RELEASE, build times out.
I did not yet test thunderbird or firefox-esr.
Can we add LTO_DESC to Mk/bsd.options.desc.mk as we're getting more and more ports that uses it?
Are at least two I know off the top of my head
If I get approval for adding LTO option here, I'll change options for other ports. On top of my head, wireshark also has (or had) LTO option.
A commit references this bug:
Date: Wed Feb 10 19:23:51 UTC 2021
New revision: 564901
www/firefox: add LTO option
Approved by: gecko (maintainer timeout)