From 4d9ae435bf3caa57a76432ba3ed5b8b6f190e634 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Fri, 10 Dec 2010 16:28:44 +0000 Subject: [PATCH] backport: configure.tgt (mips-sgi-irix6*): Add -lpthread to XLDFLAGS. Backport from mainline: 2010-12-01 Rainer Orth * configure.tgt (mips-sgi-irix6*): Add -lpthread to XLDFLAGS. From-SVN: r167694 --- libgomp/ChangeLog | 7 +++++++ libgomp/configure.tgt | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 10c882b2e1fa..e72db4764f9f 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,10 @@ +2010-12-10 Rainer Orth + + Backport from mainline: + 2010-12-01 Rainer Orth + + * configure.tgt (mips-sgi-irix6*): Add -lpthread to XLDFLAGS. + 2010-12-07 Jakub Jelinek Backport from mainline diff --git a/libgomp/configure.tgt b/libgomp/configure.tgt index d66899fbf5f1..e093724b1c3c 100644 --- a/libgomp/configure.tgt +++ b/libgomp/configure.tgt @@ -115,6 +115,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" + ;; *) ;; -- 2.47.2