linux.h (LIB_SPEC): Add missing -lc and correct -lthread to -lpthread.
authorDaniel Jacobowitz <drow@mvista.com>
Wed, 28 May 2003 18:00:52 +0000 (18:00 +0000)
committerDaniel Jacobowitz <drow@gcc.gnu.org>
Wed, 28 May 2003 18:00:52 +0000 (18:00 +0000)
* config/mips/linux.h (LIB_SPEC): Add missing -lc and correct
-lthread to -lpthread.

From-SVN: r67208

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

index f8d9e7991a4a945afe89fcf0200d380aa7d11b29..21c12d1e7841574f96b1b8b33aaef8a1ea9de320 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 2461ac34292abd08d65ef27c4b798cd8e716d204..8f81bc4497a61e03e90752a3f295de678977608b 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}}"