From bb442e7843503de9fce542449cf0683cedda7311 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 8 Mar 2018 08:59:17 -0500 Subject: [PATCH] build-sys: remove useless extra*flags variables Only EXTRA_LDFLAGS seems to be used during configure Xen checks. Backports commit 1de19951f11e5b9935b2dccffd962382429a5e29 from qemu --- qemu/configure | 5 ----- 1 file changed, 5 deletions(-) diff --git a/qemu/configure b/qemu/configure index 1b169131..3d8b4891 100755 --- a/qemu/configure +++ b/qemu/configure @@ -187,10 +187,8 @@ for opt do --cpu=*) cpu="$optarg" ;; --extra-cflags=*) QEMU_CFLAGS="$optarg $QEMU_CFLAGS" - EXTRA_CFLAGS="$optarg" ;; --extra-ldflags=*) LDFLAGS="$optarg $LDFLAGS" - EXTRA_LDFLAGS="$optarg" ;; --disable-tcg) tcg="no" ;; @@ -619,7 +617,6 @@ case "$cpu" in esac QEMU_CFLAGS="$CPU_CFLAGS $QEMU_CFLAGS" -EXTRA_CFLAGS="$CPU_CFLAGS $EXTRA_CFLAGS" default_target_list="" @@ -1274,8 +1271,6 @@ echo "# Automatically generated by configure - do not modify" > $config_host_mak echo >> $config_host_mak echo all: >> $config_host_mak -echo "extra_cflags=$EXTRA_CFLAGS" >> $config_host_mak -echo "extra_ldflags=$EXTRA_LDFLAGS" >> $config_host_mak echo "libs_softmmu=$libs_softmmu" >> $config_host_mak echo "ARCH=$ARCH" >> $config_host_mak