Link Time Optimization for release builds?

Luboš Luňák l.lunak at collabora.com
Mon Oct 11 09:43:44 UTC 2021


 Hello,

 I've noticed that the --enable-lto description says that it's broken with 
MSVC and also experimental, since 2015. I've fixed the MSVC build and checked 
that all MSVC/GCC/Clang LTO builds work. It's just a couple percent better 
performance, at the cost of somewhat longer build time, but still, it's 
basically free performance.

 Is there a good reason why I should not add --enable-lto to all the 
distro-config/*.conf files?

-- 
 Luboš Luňák
 l.lunak at collabora.com


More information about the LibreOffice mailing list