[13/62] tcg-s390: Add -m64 and -march to s390x compilation.

Submitted by Richard Henderson on May 27, 2010, 8:45 p.m.

Details

Message ID 1274993204-30766-14-git-send-email-rth@twiddle.net
State New
Headers show

Commit Message

Richard Henderson May 27, 2010, 8:45 p.m.
Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 configure |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/configure b/configure
index e2b389d..72d3df8 100755
--- a/configure
+++ b/configure
@@ -697,7 +697,11 @@  case "$cpu" in
            fi
            ;;
     s390)
-           QEMU_CFLAGS="-march=z900 $QEMU_CFLAGS"
+           QEMU_CFLAGS="-march=z990 $QEMU_CFLAGS"
+           ;;
+    s390x)
+           QEMU_CFLAGS="-m64 -march=z9-109 $QEMU_CFLAGS"
+           LDFLAGS="-m64 $LDFLAGS"
            ;;
     i386)
            QEMU_CFLAGS="-m32 $QEMU_CFLAGS"