]> git.proxmox.com Git - qemu.git/blobdiff - configure
configure: Add CONFIG_QEMU_LDST_OPTIMIZATION for TCG qemu_ld/st optimization
[qemu.git] / configure
index ba99f67dd5bbd227b25fa0a13482bf88ab065f82..8e70cbb224cf8435dbb4da5ec78c1358590a9035 100755 (executable)
--- a/configure
+++ b/configure
@@ -3881,6 +3881,12 @@ upper() {
     echo "$@"| LC_ALL=C tr '[a-z]' '[A-Z]'
 }
 
+case "$cpu" in
+  i386|x86_64)
+    echo "CONFIG_QEMU_LDST_OPTIMIZATION=y" >> $config_target_mak
+  ;;
+esac
+
 echo "TARGET_SHORT_ALIGNMENT=$target_short_alignment" >> $config_target_mak
 echo "TARGET_INT_ALIGNMENT=$target_int_alignment" >> $config_target_mak
 echo "TARGET_LONG_ALIGNMENT=$target_long_alignment" >> $config_target_mak