mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
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>
(cherry picked from commit c92dc611e5)
Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
This commit is contained in:
committed by
Titouan Christophe
parent
d3e0161b9a
commit
6bedcf009b
@@ -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))
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user