-
Notifications
You must be signed in to change notification settings - Fork 38.6k
build: Use Link Time Optimization for Qt code on Linux #25542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Last I checked this basically didn't work for anything other than x86_64 Linux, but if that's no-longer the case, that could be handy. |
I tthink this could be useful even if it works only for x86_64 Linux. |
Otherwise it's autoconf endianess check will fail to determine what the endianess is..
fanquake
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See: https://www.qt.io/blog/2019/01/02/qt-applications-lto
bitcon-qtunstripped size:LTO=1Based on the first commit from #25391.
Using LTO for macOS and Windows hosts has some issues which could be addressed in follow ups.
x86_64 build:
