PR 47802 Test for POSIX getpwuid_r
[gcc.git] / libgomp / configure.tgt
index 6ab9e4d9141bd2ecae26dc26c64b299c41941ae6..429c8e6bca29deec55121509d4c401ba4e45d5a2 100644 (file)
@@ -124,6 +124,15 @@ case "${target}" in
        config_path="bsd posix"
        ;;
 
+  *-*-freebsd*)
+       # Need to link with -lpthread so libgomp.so is self-contained.
+       XLDFLAGS="${XLDFLAGS} -lpthread"
+       ;;
+
+  mips-sgi-irix6*)
+       # Need to link with -lpthread so libgomp.so is self-contained.
+       XLDFLAGS="${XLDFLAGS} -lpthread"
+       ;;
   *)
        ;;