Bug #96486 enable LTO by default if building with FPROFILE_USE
Submitted: 9 Aug 2019 13:14 Modified: 13 Aug 2019 14:11
Reporter: Tor Didriksen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.19 OS:Any
Assigned to: CPU Architecture:Any

[9 Aug 2019 13:14] Tor Didriksen
Description:
For PGO (profile guided optimization) builds, LTO (link time optimization) gives another performance boost.
Enable LTO by default if building with FPROFILE_USE

How to repeat:
NA

Suggested fix:
NA
[13 Aug 2019 14:11] Paul DuBois
Posted by developer:
 
Fixed in 8.0.19.

Enabling FPROFILE_USE also enables WITH_LTO (link time optimization).