Commit 67932abf by Andriy Gapon Committed by Gerald Pfeifer

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
parent c11eaf93
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> 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure: Regenerate. * configure: Regenerate.
......
...@@ -121,6 +121,9 @@ is built with the --enable-threads configure-time option.} \ ...@@ -121,6 +121,9 @@ is built with the --enable-threads configure-time option.} \
%{!shared: \ %{!shared: \
%{!pg: %{pthread:-lpthread} -lc} \ %{!pg: %{pthread:-lpthread} -lc} \
%{pg: %{pthread:-lpthread_p} -lc_p} \ %{pg: %{pthread:-lpthread_p} -lc_p} \
} \
%{shared: \
%{pthread:-lpthread} -lc \
}" }"
#endif #endif
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment