Skip to content
Snippets Groups Projects
Commit f1d4ab26 authored by Gerald Pfeifer's avatar Gerald Pfeifer
Browse files

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

From-SVN: r168858
parent fc1e05d2
No related branches found
No related tags found
No related merge requests found
2011-01-16 Gerald Pfeifer
* configure.tgt (*-*-freebsd*): Add -lpthread to XLDFLAGS.
2010-12-14 Jakub Jelinek <jakub@redhat.com> 2010-12-14 Jakub Jelinek <jakub@redhat.com>
PR fortran/46874 PR fortran/46874
......
...@@ -124,6 +124,11 @@ case "${target}" in ...@@ -124,6 +124,11 @@ case "${target}" in
config_path="bsd posix" config_path="bsd posix"
;; ;;
*-*-freebsd*)
# Need to link with -lpthread so libgomp.so is self-contained.
XLDFLAGS="${XLDFLAGS} -lpthread"
;;
mips-sgi-irix6*) mips-sgi-irix6*)
# Need to link with -lpthread so libgomp.so is self-contained. # Need to link with -lpthread so libgomp.so is self-contained.
XLDFLAGS="${XLDFLAGS} -lpthread" XLDFLAGS="${XLDFLAGS} -lpthread"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment