From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 86250158041 for ; Tue, 20 Feb 2024 06:35:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6DB512BC095; Tue, 20 Feb 2024 06:35:10 +0000 (UTC) Received: from mail-oi1-x234.google.com (mail-oi1-x234.google.com [IPv6:2607:f8b0:4864:20::234]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 07FC02BC092 for ; Tue, 20 Feb 2024 06:35:10 +0000 (UTC) Received: by mail-oi1-x234.google.com with SMTP id 5614622812f47-3bbbc6bcc78so3893682b6e.1 for ; Mon, 19 Feb 2024 22:35:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708410908; x=1709015708; darn=lists.gentoo.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=zcd43fVbD8DqF1lbIyrtKWKEJw41nDUONDmb7M6cjOQ=; b=jIpikoE2rX1nrfyfH+QYzDBXCpagGQxVDPVDu5bQNE091bEkvcqwCigxC7ih2DkSBg 6mouge7dadlpDUGbG+GjtaYlzzBmL6QMtWKqMo6YIX1PHX3GQZCJtOkJR8FY9P7FRvG/ aC6dljzqgY6fG23OohHnhfp2/sBQI4GIXBes0czbQR9yUn+fWseCD+m3aK+G+uOFocwK sKhAAx1LBcZ3HCfvnh/0c1A1u2OKaUC9DpEL61oib7a90Vp1/XjwpyDgsDQwPEILaGRG E+ISA09CxjPKkKNGIAX/sWySbZppCr2YUYZNsNh4yq1PGk8UbS33awCWij0p76+TgOhK YWmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708410908; x=1709015708; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zcd43fVbD8DqF1lbIyrtKWKEJw41nDUONDmb7M6cjOQ=; b=c/kwAHPXAH/lTXSBCT5JtWmOOXmQ1lTzuZ1wwt3lCr6s2q8s4Zs9PjLqVrJJaqLaT9 j8MOK+w8doV4eYE6f43/cG5xIDBoFjVVA+mTPbwhYJiF6yVBn7mfQ7wrNiUoDNiRMMjP m0hKlIBYhvkAhRjAKfie3rA6HKuwtvQe+dMaagApEgUcCt/uajV+Ow7zt30mO319CWld UlLbKmzI9shs8Y40/3DoZy2eexQ3/PtSPgZ/3Z+kSy10UViNLht9gARmnegHHpOKc/O3 XNrXQdIRZZgG2dQK6GX7Ll1PDWuYdnIh84z76Z4JTsdMN07kguxz6QZhJtRIO9+4pimD Lmag== X-Gm-Message-State: AOJu0YzQrCtu2uPNhDBxXL4fPkAtL4UBYz6H0YyOA4w83Vv0Q6QDo1aA EclYDwIRi3mjfzaZb9n/beJaQR/xn8Nuu5xVy504/f0VmMHPmNvFKQ4m/L80 X-Google-Smtp-Source: AGHT+IEGQZE/H1KI7wsjpV9NECRhNreEEBq2mMcnwLfxExVi3hl5wefCMSzMV1Lk41vwFwEZYNq/QA== X-Received: by 2002:a05:6808:13cf:b0:3c1:34aa:525a with SMTP id d15-20020a05680813cf00b003c134aa525amr18481278oiw.39.1708410908561; Mon, 19 Feb 2024 22:35:08 -0800 (PST) Received: from acleverhostname.attlocal.net (108-200-163-197.lightspeed.bcvloh.sbcglobal.net. [108.200.163.197]) by smtp.gmail.com with ESMTPSA id a14-20020a05680802ce00b003c15d61ec3fsm461475oid.37.2024.02.19.22.35.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 22:35:07 -0800 (PST) From: Eli Schwartz To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] [PATCH v2 2/5] meson.eclass: prefer -D buildtype instead of --buildtype Date: Tue, 20 Feb 2024 01:14:42 -0500 Message-ID: <20240220063504.3959739-3-eschwartz93@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240220063504.3959739-1-eschwartz93@gmail.com> References: <1b9b73ea-9895-4680-aab7-117e47c9cc36@gmail.com> <20240220063504.3959739-1-eschwartz93@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 9e112fc1-29fc-4eb0-8573-f2d05ab801c5 X-Archives-Hash: 0eaf5c911bbd98e24746e4311b9057bf Because that is the logic which meson-python hardcodes, and meson needs to match calling convention. Signed-off-by: Eli Schwartz --- v2: new patch eclass/meson.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/meson.eclass b/eclass/meson.eclass index c2ae289019e9..e1963e552710 100644 --- a/eclass/meson.eclass +++ b/eclass/meson.eclass @@ -369,7 +369,7 @@ meson_src_configure() { ) if [[ -n ${EMESON_BUILDTYPE} ]]; then - mesonargs+=( --buildtype "${EMESON_BUILDTYPE}" ) + mesonargs+=( -Dbuildtype="${EMESON_BUILDTYPE}" ) fi if tc-is-cross-compiler; then -- 2.43.0