qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/2] configure: support passthrough of -Dxxx args to meson


From: Thomas Huth
Subject: Re: [PATCH 1/2] configure: support passthrough of -Dxxx args to meson
Date: Fri, 22 Sep 2023 16:36:00 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 22/09/2023 16.00, Peter Maydell wrote:
On Fri, 22 Sept 2023 at 14:56, Daniel P. Berrangé <berrange@redhat.com> wrote:

This can be useful for setting some meson global options, such as the
optimization level or debug state, which don't have an analogous
option explicitly defined in QEMU's configure wrapper script.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>

The commit message says it's adding support for a new feature...

---
  configure | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/configure b/configure
index e08127045d..cbd7e03e9f 100755
--- a/configure
+++ b/configure
@@ -931,6 +931,8 @@ cat << EOF
    bsd-user        all BSD usermode emulation targets
    pie             Position Independent Executables

+  -Dmesonoptname=val      passthrough option to meson unmodified
+
  NOTE: The object files are built at the place where configure is launched
  EOF
  exit 0

...but the patch is only updating the --help text. Is there
a missing piece of code here ?

The patch has already been merged, see commit ff136d2a99253483f ... and IIRC I slightly modified it when picking it up (according to the patch description), so this here is likely a left-over of a rebase. Daniel, I think you can drop this patch here.

 Thomas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]