diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 93672ff4559..0318e388ec2 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 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" + ;; *) ;;