diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/mips/linux.h | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f8d9e79..21c12d1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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> diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h index 2461ac3..8f81bc44 100644 --- a/gcc/config/mips/linux.h +++ b/gcc/config/mips/linux.h @@ -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}}" |
