OSDN Git Service

gcc:
[pf3gnuchains/gcc-fork.git] / libgomp / configure.tgt
index 68115ab..427d8d3 100644 (file)
@@ -35,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"
        ;;
@@ -93,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*)
@@ -107,6 +121,10 @@ case "${target}" in
        XLDFLAGS="${XLDFLAGS} -lposix4"
        ;;
 
+  *-*-darwin*)
+       config_path="bsd posix"
+       ;;
+
   *)
        ;;