diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2003-05-20 00:48:43 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2003-05-20 00:48:43 +0000 |
commit | fb9fc9f977f97279c1152d6f0483183744127dc5 (patch) | |
tree | a21b2b78b4eb7c842dd0e2e56a3df00fc199b60e /gcc/config/mips/linux64.h | |
parent | cee8d9ff4d402e5d4558b50e2485483a0d7220bb (diff) | |
download | gcc-fb9fc9f977f97279c1152d6f0483183744127dc5.zip gcc-fb9fc9f977f97279c1152d6f0483183744127dc5.tar.gz gcc-fb9fc9f977f97279c1152d6f0483183744127dc5.tar.bz2 |
linux64.h (LIB_SPEC): Add missing -lc and correct -lthread to -lpthread.
* config/mips/linux64.h (LIB_SPEC): Add missing -lc and correct
-lthread to -lpthread.
From-SVN: r66981
Diffstat (limited to 'gcc/config/mips/linux64.h')
-rw-r--r-- | gcc/config/mips/linux64.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/mips/linux64.h b/gcc/config/mips/linux64.h index c78e789..6ccb496 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 "\ |