On Thu, Mar 06, 2025 at 10:53:06AM +0000, Alex Bennée wrote: > This option is supported by both gcc (since 4.7) and clang (since > 7.0). Not only does this make the linkers job easier by reducing the > amount of ELF it needs to parse it also reduces the total build size > quite considerably. In my case a default build went from 5.8G to 3.9G. > > The --disable-split-debug option allows distros to keep all the info > together for ease of packaging. > > Signed-off-by: Alex Bennée <[email protected]> > > --- > v1 > - add --disable/enable-split-debug > - move to option_cflags > v2 > - removed unneeded []'s > - fix stray whitespace > --- > meson.build | 5 ++++- > meson_options.txt | 2 ++ > scripts/meson-buildoptions.sh | 2 ++ > 3 files changed, 8 insertions(+), 1 deletion(-)
Reviewed-by: Daniel P. Berrangé <[email protected]> With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
