]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/45808 (FreeBSD: -pthread is handled incompletely)
authorAndriy Gapon <avg@freebsd.org>
Fri, 25 Feb 2011 23:15:48 +0000 (23:15 +0000)
committerGerald Pfeifer <gerald@gcc.gnu.org>
Fri, 25 Feb 2011 23:15:48 +0000 (23:15 +0000)
PR target/45808
* config/freebsd-spec.h (FBSD_LIB_SPEC): Handle the shared case.
Update copyright years.

From-SVN: r170505

gcc/ChangeLog
gcc/config/freebsd-spec.h

index 95bc3f6abe36394f3695b25a159be03ba15633b7..e1b60e6400e1759a2652bc8fbb13e846cdb20b36 100644 (file)
@@ -1,3 +1,9 @@
+2011-02-25  Andriy Gapon <avg@freebsd.org>
+
+       PR target/45808
+       * config/freebsd-spec.h (FBSD_LIB_SPEC): Handle the shared case.
+       Update copyright years.
+
 2011-02-21  Uros Bizjak  <ubizjak@gmail.com>
 
        PR target/47840
index 84d81278af868e5bd8143f32c3c39979c874da73..ffdbf6f535f7c78ee4b56bdb182ce40c1cf385d4 100644 (file)
@@ -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