summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRichard Henderson2010-06-04 21:14:09 +0200
committerAurelien Jarno2010-06-11 18:16:35 +0200
commit28d7cc493e8b58f63fda05eb7df2552f5d420459 (patch)
tree370975b329eb5cdf395e0cd85223921bb0dc80d2 /configure
parenttcg-s390: Compute is_write in cpu_signal_handler. (diff)
downloadqemu-28d7cc493e8b58f63fda05eb7df2552f5d420459.tar.gz
qemu-28d7cc493e8b58f63fda05eb7df2552f5d420459.tar.xz
qemu-28d7cc493e8b58f63fda05eb7df2552f5d420459.zip
tcg-s390: Adjust compilation flags.
Force -m31/-m64 based on s390/s390x target. Force -march=z990. The TCG backend will always require the long-displacement facility, so the compiler may as well make use of that as well. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure b/configure
index 927e1047b1..ced4d2fa10 100755
--- a/configure
+++ b/configure
@@ -720,7 +720,12 @@ case "$cpu" in
fi
;;
s390)
- QEMU_CFLAGS="-march=z900 $QEMU_CFLAGS"
+ QEMU_CFLAGS="-m31 -march=z990 $QEMU_CFLAGS"
+ LDFLAGS="-m31 $LDFLAGS"
+ ;;
+ s390x)
+ QEMU_CFLAGS="-m64 -march=z990 $QEMU_CFLAGS"
+ LDFLAGS="-m64 $LDFLAGS"
;;
i386)
QEMU_CFLAGS="-m32 $QEMU_CFLAGS"