[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stable-9.0.1 30/44] configure: quote -D options that are passed through
From: |
Michael Tokarev |
Subject: |
[Stable-9.0.1 30/44] configure: quote -D options that are passed through to meson |
Date: |
Mon, 27 May 2024 11:21:21 +0300 |
From: Paolo Bonzini <pbonzini@redhat.com>
Ensure that they go through unmodified, instead of removing one layer
of quoting.
-D is a pretty specialized option and most options that can have spaces
do not need it (for example, c_args is covered by --extra-cflags).
Therefore it's unlikely that this causes actual trouble. However,
a somewhat realistic failure case would be with -Dpkg_config_path
and a pkg-config directory that contains spaces.
Cc: qemu-stable@nongnu.org
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 23b1f53c2c8990ed745acede171e49645af3d6d0)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
diff --git a/configure b/configure
index 3cd736b139..b8680df1b0 100755
--- a/configure
+++ b/configure
@@ -762,7 +762,7 @@ for opt do
--*) meson_option_parse "$opt" "$optarg"
;;
# Pass through -Dxxxx options to meson
- -D*) meson_options="$meson_options $opt"
+ -D*) meson_option_add "$opt"
;;
esac
done
--
2.39.2
- [Stable-9.0.1 06/44] backends/cryptodev-builtin: Fix local_error leaks, (continued)
- [Stable-9.0.1 06/44] backends/cryptodev-builtin: Fix local_error leaks, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 15/44] target/sh4: Fix ADDV opcode, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 18/44] target/i386: Give IRQs a chance when resetting HF_INHIBIT_IRQ_MASK, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 22/44] target/sparc: Fix FMULD8*X16, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 24/44] target/sh4: Update DisasContextBase.insn_start, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 13/44] hw/dmax/xlnx_dpdma: fix handling of address_extension descriptor fields, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 17/44] plugins: Update stale comment, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 27/44] target/i386: fix operand size for DATA16 REX.W POPCNT, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 16/44] target/sh4: Fix SUBV opcode, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 23/44] target/sparc: Fix FPMERGE, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 30/44] configure: quote -D options that are passed through to meson,
Michael Tokarev <=
- [Stable-9.0.1 36/44] target-i386: hyper-v: Correct kvm_hv_handle_exit return value, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 38/44] target/loongarch/kvm: fpu save the vreg registers high 192bit, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 26/44] hw/remote/vfio-user: Fix config space access byte order, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 28/44] target/i386: rdpkru/wrpkru are no-prefix instructions, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 29/44] target/i386: fix feature dependency for WAITPKG, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 25/44] hw/loongarch/virt: Fix memory leak, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 32/44] ui/gtk: Fix mouse/motion event scaling issue with GTK display backend, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 33/44] ui/gtk: Check if fence_fd is equal to or greater than 0, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 41/44] dockerfiles: add 'MAKE' env variable to remaining containers, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 42/44] target/i386: disable jmp_opt if EFLAGS.RF is 1, Michael Tokarev, 2024/05/27