OSDN Git Service

* double-int.h (tree_to_double_int): Remove macro.
[pf3gnuchains/gcc-fork.git] / libgomp / configure.tgt
index 4790d66..427d8d3 100644 (file)
 #  XLDFLAGS            Add extra link flags to use.
 
 # Optimize TLS usage by avoiding the overhead of dynamic allocation.
-# This does require that the library be present during process 
-# startup, so mark the library as not to be dlopened.
-if test $have_tls = yes ; then
+if test $gcc_cv_have_tls = yes ; then
   case "${target}" in
 
     *-*-linux*)
        XCFLAGS="${XCFLAGS} -ftls-model=initial-exec"
-       XLDFLAGS="${XLDFLAGS} -Wl,-z,nodlopen"
        ;;
   esac
 fi
@@ -38,6 +35,10 @@ if test $enable_linux_futex = yes; then
        config_path="linux/ia64 linux posix"
        ;;
 
+    mips*-*-linux*)
+       config_path="linux/mips linux posix"
+       ;;
+
     powerpc*-*-linux*)
        config_path="linux/powerpc linux posix"
        ;;
@@ -96,9 +97,19 @@ fi
 # Other system configury
 case "${target}" in
 
-  *-*-hpux11*)
-       # HPUX v11.x requires -lrt to resolve sem_init in libgomp.la
-       XLDFLAGS="${XLDFLAGS} -lrt"
+  *-*-hpux*)
+       case "${target}" in
+         *-*-hpux11*)
+            # HPUX v11.x requires -lrt to resolve sem_init in libgomp.la
+            XLDFLAGS="${XLDFLAGS} -lrt"
+            ;;
+       esac
+       case "${target}" in
+         hppa[12]*-*-hpux*)
+           # PA 32 HP-UX needs -frandom-seed for bootstrap compare.
+           XCFLAGS="${XCFLAGS} -frandom-seed=fixed-seed"
+           ;;
+       esac
        ;;
 
   *-*-mingw32*)
@@ -110,6 +121,10 @@ case "${target}" in
        XLDFLAGS="${XLDFLAGS} -lposix4"
        ;;
 
+  *-*-darwin*)
+       config_path="bsd posix"
+       ;;
+
   *)
        ;;