summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorStefan Weil2012-11-18 20:16:26 +0100
committerBlue Swirl2012-11-18 21:38:04 +0100
commit13586813446054aeff71b359aa627e201094375c (patch)
tree7bc70e2157520c42291eb85865f58dcd49cd2bbb /configure
parenttci: fix build breakage for target MIPS (diff)
downloadqemu-13586813446054aeff71b359aa627e201094375c.tar.gz
qemu-13586813446054aeff71b359aa627e201094375c.tar.xz
qemu-13586813446054aeff71b359aa627e201094375c.zip
tci: Fix build breakage (unresolved symbol tcg_out_tb_finalize)
Commit 32761257c0b9fa7ee04d2871a6e48a41f119c469 enabled qemu_ld/st optimization unconditionally for some hosts. The TCG interpreter still does not support this kind of optimization. Therefore builds with TCI fail with an unresolved symbol tcg_out_tb_finalize. This is fixed here. Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index e6c5712723..780b19afd6 100755
--- a/configure
+++ b/configure
@@ -3891,7 +3891,10 @@ upper() {
case "$cpu" in
i386|x86_64|ppc)
- echo "CONFIG_QEMU_LDST_OPTIMIZATION=y" >> $config_target_mak
+ # 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