Commit missing patch part
[gcc.git] / libgomp / configure.tgt
index 210dd5da3482ca029e41cd2a220c54e6f321d4ca..8b1841792d496dfcd1545784a2abca4a132c4797 100644 (file)
 if test $gcc_cv_have_tls = yes ; then
   case "${target}" in
 
-    *-*-linux*)
+    *-*-k*bsd*-gnu*)
+       ;;
+
+    *-*-linux* | *-*-gnu*)
        XCFLAGS="${XCFLAGS} -ftls-model=initial-exec"
        ;;
   esac
@@ -27,6 +30,10 @@ config_path="posix"
 if test $enable_linux_futex = yes; then
   case "${target}" in
 
+    aarch64*-*-linux*)
+       config_path="linux posix"
+       ;;
+
     alpha*-*-linux*)
        config_path="linux/alpha linux posix"
        ;;
@@ -59,7 +66,7 @@ if test $enable_linux_futex = yes; then
     i[456]86-*-linux*)
        config_path="linux/x86 linux posix"
        case " ${CC} ${CFLAGS} " in
-         *" -m64 "*)
+         *" -m64 "*|*" -mx32 "*)
            ;;
          *)
            if test -z "$with_arch"; then
@@ -133,15 +140,6 @@ case "${target}" in
        XLDFLAGS="${XLDFLAGS} -lpthread"
        ;;
 
-  alpha*-dec-osf*)
-       # Use Tru64 UNIX-specific sem.h version.
-       config_path="osf posix"
-       ;;
-
-  mips-sgi-irix6*)
-       # Need to link with -lpthread so libgomp.so is self-contained.
-       XLDFLAGS="${XLDFLAGS} -lpthread"
-       ;;
   *)
        ;;