diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/gcc/config/freebsd-spec.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/contrib/gcc/config/freebsd-spec.h b/contrib/gcc/config/freebsd-spec.h index fb3f8cc..63a56c0 100644 --- a/contrib/gcc/config/freebsd-spec.h +++ b/contrib/gcc/config/freebsd-spec.h @@ -159,10 +159,9 @@ is built with the --enable-threads configure-time option.} \ #include <sys/param.h> #if __FreeBSD_version >= 500016 #define FBSD_LIB_SPEC " \ - %{pthread: %eThe -pthread option is deprecated.} \ %{!shared: \ - %{!pg: -lc} \ - %{pg: -lc_p} \ + %{!pg: %{pthread:-lc_r} -lc} \ + %{pg: %{pthread:-lc_r_p} -lc_p} \ }" #else #define FBSD_LIB_SPEC " \ |