From 63ef6797fe3673a34cb1a19e649fef8990275bd9 Mon Sep 17 00:00:00 2001 From: aoliva Date: Tue, 20 May 2003 00:48:43 +0000 Subject: [PATCH] * config/mips/linux64.h (LIB_SPEC): Add missing -lc and correct -lthread to -lpthread. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66981 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/mips/linux64.h | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5abb227139c..929ee6fb8ae 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-05-19 Alexandre Oliva + + * config/mips/linux64.h (LIB_SPEC): Add missing -lc and correct + -lthread to -lpthread. + 2003-05-19 Neil Booth * c-opts.c (c_common_decode_option): Don't accept dollars diff --git a/gcc/config/mips/linux64.h b/gcc/config/mips/linux64.h index c78e789f89c..6ccb496b773 100644 --- a/gcc/config/mips/linux64.h +++ b/gcc/config/mips/linux64.h @@ -46,11 +46,13 @@ Boston, MA 02111-1307, USA. */ #undef LIB_SPEC #define LIB_SPEC "\ +%{shared: -lc} \ %{!static: \ %{mabi=n32:-rpath-link %R/lib32:%R/usr/lib32} \ %{mabi=64:-rpath-link %R/lib64:%R/usr/lib64} \ %{mabi=32:-rpath-link %R/lib:%R/usr/lib}} \ -%{!shared: %{pthread:-lthread} %{profile:-lc_p} %{!profile: -lc}}" +%{!shared: %{pthread:-lpthread} \ + %{profile:-lc_p} %{!profile: -lc}}" #undef LINK_SPEC #define LINK_SPEC "\ -- 2.11.0