aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc/config/freebsd-spec.h
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2004-01-30 12:14:19 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2004-01-30 12:14:19 +0000
commitf24e6a4f39dbb7148dc23f8ddd41e7714ea8f2ba (patch)
tree1ed1ac1eea260ce162409983f83bb90f0814da1e /contrib/gcc/config/freebsd-spec.h
parentbd224d495e5704daf7f55d3929483d35212755a7 (diff)
Make gcc -pthread link to -lpthread instead of -lc_r.
Notes
Notes: svn path=/head/; revision=125231
Diffstat (limited to 'contrib/gcc/config/freebsd-spec.h')
-rw-r--r--contrib/gcc/config/freebsd-spec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/gcc/config/freebsd-spec.h b/contrib/gcc/config/freebsd-spec.h
index 422c4c29e584..25991762b52c 100644
--- a/contrib/gcc/config/freebsd-spec.h
+++ b/contrib/gcc/config/freebsd-spec.h
@@ -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 " \