* configure.tgt (*-*-freebsd*): Add -lpthread to XLDFLAGS.

From-SVN: r168858
This commit is contained in:
Gerald Pfeifer 2011-01-16 19:38:04 +00:00
parent fc1e05d293
commit f1d4ab26bc
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2011-01-16 Gerald Pfeifer
* configure.tgt (*-*-freebsd*): Add -lpthread to XLDFLAGS.
2010-12-14 Jakub Jelinek <jakub@redhat.com>
PR fortran/46874

View File

@ -124,6 +124,11 @@ case "${target}" in
config_path="bsd posix"
;;
*-*-freebsd*)
# Need to link with -lpthread so libgomp.so is self-contained.
XLDFLAGS="${XLDFLAGS} -lpthread"
;;
mips-sgi-irix6*)
# Need to link with -lpthread so libgomp.so is self-contained.
XLDFLAGS="${XLDFLAGS} -lpthread"