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

login
register
mail settings
Submitter Richard Henderson
Date May 27, 2010, 8:45 p.m.
Message ID <1274993204-30766-14-git-send-email-rth@twiddle.net>
Download mbox | patch
Permalink /patch/53785/
State New
Headers show

Comments

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

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"