From: Rainer Orth Date: Wed, 1 Dec 2010 14:01:48 +0000 (+0000) Subject: * configure.tgt (mips-sgi-irix6*): Add -lpthread to XLDFLAGS. X-Git-Tag: releases/gcc-4.6.0~2219 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6b43a34c3ccb186dcac709bc1b8d6adce91b14c7;p=thirdparty%2Fgcc.git * configure.tgt (mips-sgi-irix6*): Add -lpthread to XLDFLAGS. From-SVN: r167333 --- 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" + ;; *) ;;