OSDN Git Service

* config/mips/linux.h (LIB_SPEC): Add missing -lc and correct
authordrow <drow@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 May 2003 18:00:52 +0000 (18:00 +0000)
committerdrow <drow@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 May 2003 18:00:52 +0000 (18:00 +0000)
-lthread to -lpthread.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67208 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/mips/linux.h

index f8d9e79..21c12d1 100644 (file)
@@ -1,3 +1,8 @@
+2003-05-28  Daniel Jacobowitz  <drow@mvista.com>
+
+       * config/mips/linux.h (LIB_SPEC): Add missing -lc and correct
+       -lthread to -lpthread.
+
 2003-05-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
             Bruce Korb  <bkorb@gnu.org>
             Arno Klaassen  <arno@heho.snv.jussieu.fr>
index 2461ac3..8f81bc4 100644 (file)
@@ -254,6 +254,7 @@ void FN ()                                                  \
 
 #undef LIB_SPEC
 #define LIB_SPEC "\
+%{shared: -lc} \
 %{!static:-rpath-link %R/lib:%R/usr/lib} \
-%{!shared: %{pthread:-lthread} \
+%{!shared: %{pthread:-lpthread} \
   %{profile:-lc_p} %{!profile: -lc}}"