From b95ea11330e446d0deb89ca7d78356cb2a7d0d06 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Tue, 20 Feb 2024 00:39:51 -0500 Subject: [PATCH] meson.eclass: prefer -D buildtype instead of --buildtype Because that is the logic which meson-python hardcodes, and meson needs to match calling convention. Signed-off-by: Eli Schwartz Closes: https://github.com/gentoo/gentoo/pull/35528 Signed-off-by: Sam James --- eclass/meson.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/meson.eclass b/eclass/meson.eclass index b24bb40eb0a0f..9e877be53309c 100644 --- a/eclass/meson.eclass +++ b/eclass/meson.eclass @@ -367,7 +367,7 @@ setup_meson_src_configure() { ) if [[ -n ${EMESON_BUILDTYPE} ]]; then - MESONARGS+=( --buildtype "${EMESON_BUILDTYPE}" ) + MESONARGS+=( -Dbuildtype="${EMESON_BUILDTYPE}" ) fi if tc-is-cross-compiler; then