mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 07:26:15 +01:00
ci: Force-enable -Dglib_debug for scan-build jobs
Several of the assertions in GLib (particularly on hot paths in `gobject.c`) are protected behind `#if G_ENABLE_DEBUG`. In order for scan-build to see them, the scan-build CI job needs to make sure that a debug build is definitely enabled — not just rely on it being implicitly enabled via the combination of other build options. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #1767
This commit is contained in:
parent
0814be8bef
commit
c844abc759
@ -748,6 +748,7 @@ scan-build:
|
|||||||
--prefix=$HOME/glib-installed
|
--prefix=$HOME/glib-installed
|
||||||
--localstatedir=/var
|
--localstatedir=/var
|
||||||
--libdir=lib
|
--libdir=lib
|
||||||
|
-Dglib_debug=enabled
|
||||||
-Dsystemtap=true
|
-Dsystemtap=true
|
||||||
-Ddtrace=true
|
-Ddtrace=true
|
||||||
-Dinstalled_tests=true
|
-Dinstalled_tests=true
|
||||||
|
Loading…
Reference in New Issue
Block a user