summaryrefslogtreecommitdiff
path: root/libgomp/configure.tgt
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2010-12-01 14:01:48 +0000
committerRainer Orth <ro@gcc.gnu.org>2010-12-01 14:01:48 +0000
commit6b43a34c3ccb186dcac709bc1b8d6adce91b14c7 (patch)
tree9134dfd1f481988a0c7cbd71caf20d737001c676 /libgomp/configure.tgt
parentce9315a9f572712e68e4ccba0475e9ad37d556eb (diff)
downloadgcc-6b43a34c3ccb186dcac709bc1b8d6adce91b14c7.tar.gz
* configure.tgt (mips-sgi-irix6*): Add -lpthread to XLDFLAGS.
From-SVN: r167333
Diffstat (limited to 'libgomp/configure.tgt')
-rw-r--r--libgomp/configure.tgt4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgomp/configure.tgt b/libgomp/configure.tgt
index 6ab9e4d9141..4a564452cef 100644
--- a/libgomp/configure.tgt
+++ b/libgomp/configure.tgt
@@ -124,6 +124,10 @@ case "${target}" in
config_path="bsd posix"
;;
+ mips-sgi-irix6*)
+ # Need to link with -lpthread so libgomp.so is self-contained.
+ XLDFLAGS="${XLDFLAGS} -lpthread"
+ ;;
*)
;;