summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2004-01-30 12:14:19 +0000
committerdeischen <deischen@FreeBSD.org>2004-01-30 12:14:19 +0000
commit8eb123010726e699ea5de71db50c997c9e6eb290 (patch)
tree1ed1ac1eea260ce162409983f83bb90f0814da1e /contrib
parent674bc2cc3f8367cff374b28808cc340aaedbaf39 (diff)
downloadFreeBSD-src-8eb123010726e699ea5de71db50c997c9e6eb290.zip
FreeBSD-src-8eb123010726e699ea5de71db50c997c9e6eb290.tar.gz
Make gcc -pthread link to -lpthread instead of -lc_r.
Diffstat (limited to 'contrib')
-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 422c4c2..2599176 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 " \
OpenPOWER on IntegriCloud