mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-01 08:27:59 +00:00
Make gcc -pthread link to -lpthread instead of -lc_r.
This commit is contained in:
parent
bd224d495e
commit
f24e6a4f39
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=125231
@ -158,8 +158,8 @@ is built with the --enable-threads configure-time option.} \
|
||||
#if __FreeBSD_version >= 500016
|
||||
#define FBSD_LIB_SPEC " \
|
||||
%{!shared: \
|
||||
%{!pg: %{pthread:-lc_r} -lc} \
|
||||
%{pg: %{pthread:-lc_r_p} -lc_p} \
|
||||
%{!pg: %{pthread:-lpthread} -lc} \
|
||||
%{pg: %{pthread:-lpthread_p} -lc_p} \
|
||||
}"
|
||||
#else
|
||||
#define FBSD_LIB_SPEC " \
|
||||
|
Loading…
Reference in New Issue
Block a user