From 6b43a34c3ccb186dcac709bc1b8d6adce91b14c7 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Wed, 1 Dec 2010 14:01:48 +0000 Subject: [PATCH] * configure.tgt (mips-sgi-irix6*): Add -lpthread to XLDFLAGS. From-SVN: r167333 --- libgomp/ChangeLog | 4 ++++ libgomp/configure.tgt | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 93672ff4559d..0318e388ec21 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,7 @@ +2010-12-01 Rainer Orth + + * configure.tgt (mips-sgi-irix6*): Add -lpthread to XLDFLAGS. + 2010-12-01 Rainer Orth * testsuite/libgomp.fortran/vla8.f90: Use dg-timeout-factor 2.0. diff --git a/libgomp/configure.tgt b/libgomp/configure.tgt index 6ab9e4d9141b..4a564452cefd 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" + ;; *) ;; -- 2.47.2