From 6bedcf009bef50999de90e360caef1e03659cded Mon Sep 17 00:00:00 2001 From: Jean-Michel Hautbois Date: Sun, 7 Jun 2026 10:58:44 +0200 Subject: [PATCH] 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 [Fiona: also apply to package/libglib2/libglib2-bootstrap] Signed-off-by: Fiona Klute (cherry picked from commit c92dc611e51b9fea493998676f99c0d55e39967e) Signed-off-by: Titouan Christophe --- package/libglib2/libglib2-bootstrap/libglib2-bootstrap.mk | 3 ++- package/libglib2/libglib2.mk | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package/libglib2/libglib2-bootstrap/libglib2-bootstrap.mk b/package/libglib2/libglib2-bootstrap/libglib2-bootstrap.mk index 665f320684..1e512fd7ed 100644 --- a/package/libglib2/libglib2-bootstrap/libglib2-bootstrap.mk +++ b/package/libglib2/libglib2-bootstrap/libglib2-bootstrap.mk @@ -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)) diff --git a/package/libglib2/libglib2.mk b/package/libglib2/libglib2.mk index cae8a85a28..ae4b653a15 100644 --- a/package/libglib2/libglib2.mk +++ b/package/libglib2/libglib2.mk @@ -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 \