mirror of https://github.com/xemu-project/xemu.git
configure: move --enable/--disable-debug-info to second option parsing pass
$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>
This commit is contained in:
parent
df42fa7d47
commit
28609749fe
|
@ -244,7 +244,6 @@ audio_drv_list="default"
|
||||||
block_drv_rw_whitelist=""
|
block_drv_rw_whitelist=""
|
||||||
block_drv_ro_whitelist=""
|
block_drv_ro_whitelist=""
|
||||||
host_cc="cc"
|
host_cc="cc"
|
||||||
debug_info="yes"
|
|
||||||
lto="false"
|
lto="false"
|
||||||
stack_protector=""
|
stack_protector=""
|
||||||
safe_stack=""
|
safe_stack=""
|
||||||
|
@ -304,6 +303,7 @@ vhost_user_fs="$default_feature"
|
||||||
vhost_vdpa="$default_feature"
|
vhost_vdpa="$default_feature"
|
||||||
rdma="$default_feature"
|
rdma="$default_feature"
|
||||||
pvrdma="$default_feature"
|
pvrdma="$default_feature"
|
||||||
|
debug_info="yes"
|
||||||
debug_tcg="no"
|
debug_tcg="no"
|
||||||
debug="no"
|
debug="no"
|
||||||
sanitizers="no"
|
sanitizers="no"
|
||||||
|
@ -379,10 +379,6 @@ for opt do
|
||||||
;;
|
;;
|
||||||
--extra-ldflags=*) EXTRA_LDFLAGS="$EXTRA_LDFLAGS $optarg"
|
--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-*[!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%%=*}
|
--cross-cc-cflags-*) cc_arch=${opt#--cross-cc-cflags-}; cc_arch=${cc_arch%%=*}
|
||||||
|
@ -759,12 +755,12 @@ for opt do
|
||||||
;;
|
;;
|
||||||
--extra-ldflags=*)
|
--extra-ldflags=*)
|
||||||
;;
|
;;
|
||||||
--enable-debug-info)
|
|
||||||
;;
|
|
||||||
--disable-debug-info)
|
|
||||||
;;
|
|
||||||
--cross-cc-*)
|
--cross-cc-*)
|
||||||
;;
|
;;
|
||||||
|
--enable-debug-info) debug_info="yes"
|
||||||
|
;;
|
||||||
|
--disable-debug-info) debug_info="no"
|
||||||
|
;;
|
||||||
--enable-modules)
|
--enable-modules)
|
||||||
modules="yes"
|
modules="yes"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue