Date: Thu, 16 Sep 2021 15:04:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258536 Bug ID: 258536 Summary: Add global LTO support for ports Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: pkubaj@FreeBSD.org CC: ports-bugs@FreeBSD.org Created attachment 227939 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=227939&action=edit patch It's well known that LTO provides both performance and size benefits for binaries. Add preliminary, opt-in support for global LTO enforcement to ports. Ports that provide LTO option on their own and the ones that don't work with LTO will need to set LTO_UNSAFE in the future. When the LTO is switched by default, it will need to be excluded on the platforms where LTO does not work, but the purpose of the patch is to give opt-in support. -- You are receiving this mail because: You are on the CC list for the bug.