Link Time Optimization for release builds?

Luboš Luňák l.lunak at
Thu Oct 14 12:36:00 UTC 2021

On Monday 11 of October 2021, Luboš Luňák wrote:
>  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?

 Ok, given there's been no more feedback, I''ve added --enable-lto to all 
distro-configs/* that already have --enable-mergelibs, and I'll submit soon.

 Luboš Luňák
 l.lunak at

More information about the LibreOffice mailing list