config.host: Append t-floattodi to tmake_file depending on host_address.
[gcc.git] / libitm / configure.tgt
index ab3953b16d726962fd1f1b661b3973a9762a7e22..4694a9b8aa0d0110c0b2f231427ec1f555fbd7e1 100644 (file)
@@ -1,5 +1,5 @@
 # -*- shell-script -*-
-#   Copyright (C) 2011-2013 Free Software Foundation, Inc.
+#   Copyright (C) 2011-2014 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 ;;
 
@@ -106,8 +109,8 @@ case "${target_cpu}" in
        ARCH=x86
        ;;
   s390|s390x)
+       XCFLAGS="${XCFLAGS} -mzarch -mhtm"
        ARCH=s390
-       XCFLAGS="${XCFLAGS} -mzarch"
        ;;
 
   *)