Skip to content

build: Fix assertion option

meson has an option called b_ndebug to enable or disable assertions. This option is used to also enable glib assertions by adding G_DISABLE_ASSERT macro definition compiler argument.

However, the option is set backwards, because the compiler argument is added when the option is false.

This has been changed to add the macro definition that disables assertions when b_ndebug is true.

Merge request reports