This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

mips-linux LIB_SPEC


A minor slip-up in the LIB_SPEC entry in mips/linux.h, needed to build glibc
using HEAD.  OK?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

2003-05-19  Daniel Jacobowitz  <drow@mvista.com>

	* config/mips/linux.h (LIB_SPEC): Add missing -lc and correct
	-lthread to -lpthread.

--- gcc-3.3/gcc/config/mips/linux.h.orig	2003-05-19 19:13:56.000000000 -0400
+++ gcc-3.3/gcc/config/mips/linux.h	2003-05-19 19:15:01.000000000 -0400
@@ -255,6 +255,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}}"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]