Attention is currently required from: Felix Singer, Thomas Heijligen, Edward O'Callaghan, Angel Pons.
3 comments:
Patchset:
Meson uses debug build as default. So the binary get a lot bigger than with make. […]
Yes, thank you so much! This explains.
and also which meson version?
The end result is that I also disabled debug, as it is in Makefile, and now yes, binaries are very similar size. Why not exactly the same, I am very interested to understand why, I will look into that next.
However now, since I disabled debug, binary size before and after changed a lot, almost twice smaller after :)
Patchset:
I read more into meson docs and I discovered that optimisation and debug options are linked together.
There are two possible approaches for meson build:
1) set optimisation and debug, that's what the patch is doing
2) set buildtype and don't set any of optimisation and debug, in this case optimisation and debug will be calculated from buildtype
But none of available buildtypes gives a combination of optimisation and debug that makefile is using. If we want to sync with makefile, we need to set optimisation and debug. Otherwise that will be a diff.
To view, visit change 63606. To unsubscribe, or for help writing mail filters, visit settings.