From: Andriy Gapon Date: Fri, 25 Feb 2011 23:15:48 +0000 (+0000) Subject: re PR target/45808 (FreeBSD: -pthread is handled incompletely) X-Git-Tag: releases/gcc-4.5.3~203 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ced7f7bcf7452cdbf1917a10b3b6ac165af1c20;p=thirdparty%2Fgcc.git re PR target/45808 (FreeBSD: -pthread is handled incompletely) PR target/45808 * config/freebsd-spec.h (FBSD_LIB_SPEC): Handle the shared case. Update copyright years. From-SVN: r170505 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 95bc3f6abe36..e1b60e6400e1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-02-25 Andriy Gapon + + PR target/45808 + * config/freebsd-spec.h (FBSD_LIB_SPEC): Handle the shared case. + Update copyright years. + 2011-02-21 Uros Bizjak PR target/47840 diff --git a/gcc/config/freebsd-spec.h b/gcc/config/freebsd-spec.h index 84d81278af86..ffdbf6f535f7 100644 --- a/gcc/config/freebsd-spec.h +++ b/gcc/config/freebsd-spec.h @@ -1,5 +1,6 @@ /* Base configuration file for all FreeBSD targets. - Copyright (C) 1999, 2000, 2001, 2004, 2005, 2007, 2009 Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2001, 2004, 2005, 2007, 2009, 2011 + Free Software Foundation, Inc. This file is part of GCC. @@ -139,6 +140,9 @@ is built with the --enable-threads configure-time option.} \ %{!shared: \ %{!pg: %{pthread:-lpthread} -lc} \ %{pg: %{pthread:-lpthread_p} -lc_p} \ + } \ + %{shared: \ + %{pthread:-lpthread} -lc \ }" #endif #endif