re PR target/45808 (FreeBSD: -pthread is handled incompletely)

PR target/45808
	* config/freebsd-spec.h (FBSD_LIB_SPEC): Handle the shared case.

From-SVN: r170121
This commit is contained in:
Andriy Gapon 2011-02-14 00:40:15 +00:00 committed by Gerald Pfeifer
parent c11eaf93b6
commit 67932abf57
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2011-02-14 Andriy Gapon <avg@freebsd.org>
PR target/45808
* config/freebsd-spec.h (FBSD_LIB_SPEC): Handle the shared case.
2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure: Regenerate.

View File

@ -121,6 +121,9 @@ is built with the --enable-threads configure-time option.} \
%{!shared: \
%{!pg: %{pthread:-lpthread} -lc} \
%{pg: %{pthread:-lpthread_p} -lc_p} \
} \
%{shared: \
%{pthread:-lpthread} -lc \
}"
#endif
#endif