[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 10/18] configure: move --enable/--disable-debug-info to second opt
From: |
Paolo Bonzini |
Subject: |
[PULL 10/18] configure: move --enable/--disable-debug-info to second option parsing pass |
Date: |
Thu, 28 Apr 2022 08:53:27 +0200 |
$debug_info is not needed anywhere except in the final meson invocation,
no need to special case it.
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
configure | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/configure b/configure
index e404b55da5..d704029284 100755
--- a/configure
+++ b/configure
@@ -244,7 +244,6 @@ audio_drv_list="default"
block_drv_rw_whitelist=""
block_drv_ro_whitelist=""
host_cc="cc"
-debug_info="yes"
lto="false"
stack_protector=""
safe_stack=""
@@ -304,6 +303,7 @@ vhost_user_fs="$default_feature"
vhost_vdpa="$default_feature"
rdma="$default_feature"
pvrdma="$default_feature"
+debug_info="yes"
debug_tcg="no"
debug="no"
sanitizers="no"
@@ -379,10 +379,6 @@ for opt do
;;
--extra-ldflags=*) EXTRA_LDFLAGS="$EXTRA_LDFLAGS $optarg"
;;
- --enable-debug-info) debug_info="yes"
- ;;
- --disable-debug-info) debug_info="no"
- ;;
--cross-cc-*[!a-zA-Z0-9_-]*=*) error_exit "Passed bad --cross-cc-FOO option"
;;
--cross-cc-cflags-*) cc_arch=${opt#--cross-cc-cflags-};
cc_arch=${cc_arch%%=*}
@@ -759,12 +755,12 @@ for opt do
;;
--extra-ldflags=*)
;;
- --enable-debug-info)
- ;;
- --disable-debug-info)
- ;;
--cross-cc-*)
;;
+ --enable-debug-info) debug_info="yes"
+ ;;
+ --disable-debug-info) debug_info="no"
+ ;;
--enable-modules)
modules="yes"
;;
--
2.35.1
- [PULL 00/18] Misc QEMU patches for 2022-04-28, Paolo Bonzini, 2022/04/28
- [PULL 01/18] error-report: fix g_date_time_format assertion, Paolo Bonzini, 2022/04/28
- [PULL 03/18] remove -writeconfig, Paolo Bonzini, 2022/04/28
- [PULL 07/18] qga: wixl: get path to sysroot from pkg-config as intended, Paolo Bonzini, 2022/04/28
- [PULL 09/18] configure: gcov should not exclude fortify-source, Paolo Bonzini, 2022/04/28
- [PULL 10/18] configure: move --enable/--disable-debug-info to second option parsing pass,
Paolo Bonzini <=
- [PULL 02/18] configure: make fortify_source=yes by default, Paolo Bonzini, 2022/04/28
- [PULL 04/18] i386: pcmpestr 64-bit sign extension bug, Paolo Bonzini, 2022/04/28
- [PULL 05/18] meson: show final set of compiler flags, Paolo Bonzini, 2022/04/28
- [PULL 06/18] configure: remove dead code, Paolo Bonzini, 2022/04/28
- [PULL 08/18] configure: pc-bios/qemu-icon.bmp does not exist, Paolo Bonzini, 2022/04/28
- [PULL 14/18] meson, configure: move usbfs test to meson, Paolo Bonzini, 2022/04/28
- [PULL 12/18] meson, configure: move RDMA options to meson, Paolo Bonzini, 2022/04/28
- [PULL 16/18] meson: remove CONFIG_XEN_PCI_PASSTHROUGH from config-target.h, Paolo Bonzini, 2022/04/28
- [PULL 18/18] qemu-options: Limit the -enable-kvm option to the targets that support it, Paolo Bonzini, 2022/04/28
- [PULL 15/18] meson, configure: move libgio test to meson, Paolo Bonzini, 2022/04/28