revert: configure.tgt: Add -msoft-float to XCFLAGS.
[gcc.git] / libitm / configure.tgt
index e60e7449e6a2ddac7dde907dbe8acc701c5b64df..5078455975cd97793127724c01b767f842897737 100644 (file)
@@ -1,5 +1,5 @@
 # -*- shell-script -*-
-#   Copyright (C) 2011, 2012 Free Software Foundation, Inc.
+#   Copyright (C) 2011-2013 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -47,13 +47,16 @@ fi
 # work out any special compilation flags as necessary.
 case "${target_cpu}" in
   alpha*)              ARCH=alpha ;;
-  rs6000 | powerpc*)   ARCH=powerpc ;;
+  rs6000 | powerpc*)
+       XCFLAGS="${XCFLAGS} -mhtm"
+       ARCH=powerpc
+       ;;
 
   arm*)                ARCH=arm ;;
 
   i[3456]86)
        case " ${CC} ${CFLAGS} " in
-         *" -m64 "*)
+         *" -m64 "*|*" -mx32 "*)
            ;;
          *)
            if test -z "$with_arch"; then
@@ -61,6 +64,7 @@ case "${target_cpu}" in
              XCFLAGS="${XCFLAGS} -fomit-frame-pointer"
            fi
        esac
+       XCFLAGS="${XCFLAGS} -mrtm"
        ARCH=x86
        ;;
 
@@ -101,8 +105,13 @@ case "${target_cpu}" in
            XCFLAGS="${XCFLAGS} -fomit-frame-pointer"
            ;;
        esac
+       XCFLAGS="${XCFLAGS} -mrtm"
        ARCH=x86
        ;;
+  s390|s390x)
+       XCFLAGS="${XCFLAGS} -mzarch -mhtm"
+       ARCH=s390
+       ;;
 
   *)
        ARCH="${target_cpu}"
@@ -130,7 +139,7 @@ case "${target}" in
 
   *-*-gnu* | *-*-k*bsd*-gnu \
   | *-*-netbsd* | *-*-freebsd* | *-*-openbsd* \
-  | *-*-solaris2* | *-*-sysv4* | *-*-irix6* | *-*-hpux11* \
+  | *-*-solaris2* | *-*-sysv4* | *-*-hpux11* \
   | *-*-darwin* | *-*-aix*)
        # POSIX system.  The OS is supported.
        ;;