package/libglib2: disable sysprof for the host build

Whether the host libglib2 picks up sysprof support depends on whether
libsysprof-capture happens to be installed on the build machine, which
makes the host build depend on the host environment. Disable sysprof
explicitly for the host build so the result is deterministic.

Keep sysprof enabled for the target build: it is useful to profile and
measure the performance of applications running on the target.

Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@yoseli.org>
[Fiona: also apply to package/libglib2/libglib2-bootstrap]
Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
This commit is contained in:
Jean-Michel Hautbois
2026-06-07 10:58:44 +02:00
committed by Fiona Klute
parent 20d816651c
commit c92dc611e5
2 changed files with 4 additions and 2 deletions

View File

@@ -72,7 +72,8 @@ HOST_LIBGLIB2_BOOTSTRAP_CONF_OPTS = \
-Dsystemtap=false \
-Dxattr=false \
-Dtests=false \
-Doss_fuzz=disabled
-Doss_fuzz=disabled \
-Dsysprof=disabled
$(eval $(meson-package))
$(eval $(host-meson-package))

View File

@@ -30,7 +30,8 @@ HOST_LIBGLIB2_CONF_OPTS = \
-Dsystemtap=false \
-Dxattr=false \
-Dtests=false \
-Doss_fuzz=disabled
-Doss_fuzz=disabled \
-Dsysprof=disabled
LIBGLIB2_DEPENDENCIES = \
host-pkgconf host-libglib2 \