Opened 2 weeks ago

Last modified 2 weeks ago

#15116 new enhancement

add --buildtype=release for meson

Reported by: Xi Ruoyao Owned by: blfs-book
Priority: normal Milestone: 10.2
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

https://mesonbuild.com/Running-Meson.html says meson defaults to debug build. No optimization will be used in this mode (even -O2 is not enabled). This does not make sense unless you want to debug the resulted binary.

We should add --buildtype=release when we update a package using meson next time.

Change History (1)

comment:1 by Xi Ruoyao, 2 weeks ago

I added --buildtype=release for every package I've tested with it.

mutter with --buildtype=release runs OK, but the test depends on debug. So added --buildtype=debugoptimized.

Some packages (for e. g. gnome-background) obviously don't contain any source code, so they are skipped.

Note: See TracTickets for help on using tickets.