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:
parent
c11eaf93b6
commit
67932abf57
2 changed files with 8 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue