diff options
author | Marco Sirabella <marco@sirabella.org> | 2024-03-02 19:36:00 -0800 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-04-04 02:06:40 +0100 |
commit | 2be521e30ea9d9485d9541c7213550f6576bcf13 (patch) | |
tree | e17872cb1d0579cd6e4bce7cf673a71dafeddd51 /dev-libs/glib | |
parent | meson.eclass: set working directory to BUILD_DIR (diff) | |
download | gentoo-2be521e30ea9d9485d9541c7213550f6576bcf13.tar.gz gentoo-2be521e30ea9d9485d9541c7213550f6576bcf13.tar.bz2 gentoo-2be521e30ea9d9485d9541c7213550f6576bcf13.zip |
dev-libs/glib: set glib_debug rather than buildtype
glib has a special flag signalling a debug build, without this, G_ENABLE_DEBUG
is only set iff --debug=true AND --optimization={0,g}
(which, admittedly, -Dbuildtype=debug *does* do. It's just better to be
explicit about these things)
Signed-off-by: Marco Sirabella <marco@sirabella.org>
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/glib')
-rw-r--r-- | dev-libs/glib/glib-2.78.4-r1.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-libs/glib/glib-2.78.4-r1.ebuild b/dev-libs/glib/glib-2.78.4-r1.ebuild index 7bd791bf5334..18380b00b6af 100644 --- a/dev-libs/glib/glib-2.78.4-r1.ebuild +++ b/dev-libs/glib/glib-2.78.4-r1.ebuild @@ -188,7 +188,9 @@ multilib_src_configure() { #fi local emesonargs=( - -Dbuildtype=$(usex debug debug plain) + -Dbuildtype=plain + + $(meson_feature debug glib_debug) -Ddefault_library=$(usex static-libs both shared) -Druntime_dir="${EPREFIX}"/run $(meson_feature selinux) |