[Buildroot] [git commit] package/libglib2: disable sysprof for the host build
Fiona Klute via buildroot <[email protected]>
| Newsgroups | net.busybox.buildroot |
|---|---|
| Message-ID | <[email protected]> |
commit: https://gitlab.com/buildroot.org/buildroot/-/commit/c92dc611e51b9fea493998676f99c0d55e39967e branch: https://gitlab.com/buildroot.org/buildroot/-/tree/master 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 <[email protected]> [Fiona: also apply to package/libglib2/libglib2-bootstrap] Signed-off-by: Fiona Klute <[email protected]> --- 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 \ _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot