diff options
author | Eli Schwartz <eschwartz93@gmail.com> | 2024-02-20 00:39:51 -0500 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-01 19:25:17 +0000 |
commit | b95ea11330e446d0deb89ca7d78356cb2a7d0d06 (patch) | |
tree | 58d2a108d6c02a84b8bb2fa8a3f55437087752dd /eclass | |
parent | meson.eclass: wire up LTO support directly into the meson options (diff) | |
download | gentoo-b95ea11330e446d0deb89ca7d78356cb2a7d0d06.tar.gz gentoo-b95ea11330e446d0deb89ca7d78356cb2a7d0d06.tar.bz2 gentoo-b95ea11330e446d0deb89ca7d78356cb2a7d0d06.zip |
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>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/meson.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/meson.eclass b/eclass/meson.eclass index b24bb40eb0a0..9e877be53309 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 |