From f24e6a4f39dbb7148dc23f8ddd41e7714ea8f2ba Mon Sep 17 00:00:00 2001 From: Daniel Eischen Date: Fri, 30 Jan 2004 12:14:19 +0000 Subject: [PATCH] Make gcc -pthread link to -lpthread instead of -lc_r. --- contrib/gcc/config/freebsd-spec.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/gcc/config/freebsd-spec.h b/contrib/gcc/config/freebsd-spec.h index 422c4c29e58..25991762b52 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 " \