mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-24 03:02:10 +01:00
The behaviour of the Meson build has changed a little vs what we did in autotools. In autotools, --enable-debug was a tristate (yes, no, undefined), with all three options resulting in different macro definitions. In Meson, we have a bistate of --buildtype={debug,debugoptimized} vs --buildtype=(anything else). There is no way to automatically define G_DISABLE_ASSERT or G_DISABLE_CHECKS while building GLib — you need to define them in your CPPFLAGS in your environment instead. Signed-off-by: Philip Withnall <withnall@endlessm.com>