From 28d7cc493e8b58f63fda05eb7df2552f5d420459 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 4 Jun 2010 12:14:09 -0700 Subject: 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 Signed-off-by: Aurelien Jarno --- configure | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'configure') 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" -- cgit v1.2.3