diff mbox series

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

Message ID 20230922135445.241520-2-berrange@redhat.com
State New
Headers show
Series Improve _FORTIFY_SOURCE robustness | expand

Commit Message

Daniel P. Berrangé Sept. 22, 2023, 1:54 p.m. UTC
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>
---
 configure | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

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