From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:40625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNKzb-00018v-Kx for qemu-devel@nongnu.org; Wed, 03 Apr 2013 06:32:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNKzY-0004L8-Hs for qemu-devel@nongnu.org; Wed, 03 Apr 2013 06:32:35 -0400 Received: from mail-wg0-x22a.google.com ([2a00:1450:400c:c00::22a]:40339) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNKzY-0004Kl-A9 for qemu-devel@nongnu.org; Wed, 03 Apr 2013 06:32:32 -0400 Received: by mail-wg0-f42.google.com with SMTP id k13so4055379wgh.5 for ; Wed, 03 Apr 2013 03:32:31 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Wed, 3 Apr 2013 12:32:06 +0200 Message-Id: <1364985128-23772-9-git-send-email-pbonzini@redhat.com> In-Reply-To: <1364985128-23772-1-git-send-email-pbonzini@redhat.com> References: <1364985128-23772-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH v2 08/10] configure: move CONFIG_QEMU_LDST_OPTIMIZATION to config-host.mak List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aurelien@aurel32.net, pmaydell@linaro.org Reviewed-by: Peter Maydell Signed-off-by: Paolo Bonzini --- configure | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/configure b/configure index 10ea70e..7d83600 100755 --- a/configure +++ b/configure @@ -3481,6 +3481,15 @@ echo "extra_ldflags=$EXTRA_LDFLAGS" >> $config_host_mak echo "qemu_localedir=$qemu_localedir" >> $config_host_mak echo "ARCH=$ARCH" >> $config_host_mak + +case "$cpu" in + i386|x86_64|ppc) + # The TCG interpreter currently does not support ld/st optimization. + if test "$tcg_interpreter" = "no" ; then + echo "CONFIG_QEMU_LDST_OPTIMIZATION=y" >> $config_host_mak + fi + ;; +esac if test "$debug_tcg" = "yes" ; then echo "CONFIG_DEBUG_TCG=y" >> $config_host_mak fi @@ -4131,15 +4140,6 @@ upper() { echo "$@"| LC_ALL=C tr '[a-z]' '[A-Z]' } -case "$cpu" in - i386|x86_64|ppc) - # The TCG interpreter currently does not support ld/st optimization. - if test "$tcg_interpreter" = "no" ; then - echo "CONFIG_QEMU_LDST_OPTIMIZATION=y" >> $config_target_mak - fi - ;; -esac - echo "TARGET_ARCH=$TARGET_ARCH" >> $config_target_mak target_arch_name="`upper $TARGET_ARCH`" echo "TARGET_$target_arch_name=y" >> $config_target_mak -- 1.8.1.4