revert: configure.tgt: Add -msoft-float to XCFLAGS.
[gcc.git] / libitm / configure.tgt
index 74cb0b5487666d806bd80058bbd70285c8c5f03f..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,7 +47,10 @@ 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 ;;
 
@@ -105,6 +108,10 @@ case "${target_cpu}" in
        XCFLAGS="${XCFLAGS} -mrtm"
        ARCH=x86
        ;;
+  s390|s390x)
+       XCFLAGS="${XCFLAGS} -mzarch -mhtm"
+       ARCH=s390
+       ;;
 
   *)
        ARCH="${target_cpu}"