diff options
author | deischen <deischen@FreeBSD.org> | 2004-01-30 12:14:19 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2004-01-30 12:14:19 +0000 |
commit | 8eb123010726e699ea5de71db50c997c9e6eb290 (patch) | |
tree | 1ed1ac1eea260ce162409983f83bb90f0814da1e /contrib | |
parent | 674bc2cc3f8367cff374b28808cc340aaedbaf39 (diff) | |
download | FreeBSD-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.h | 4 |
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 " \ |