mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-02 23:48:17 -07:00
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 <eschwartz93@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35528 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user