Would you consider if-release for b_lto? #9621
lukester1975
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I.e. some method of specifying lto in
meson.build
such that it only applies for optimised builds and doesn't need to be specified on the command line?Given discussion around
b_ndebug
and to avoid something like this, maybe a new bool flagb_lto_auto
(or whatever name) would be better?I've been using a quick
if-release
hack here but given the above I'm sure that's not the right answer, if it's something that would be considered!Thanks
Beta Was this translation helpful? Give feedback.
All reactions