aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/linux64.h
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2007-06-13 23:22:29 +0000
committerThiemo Seufer <ths@gcc.gnu.org>2007-06-13 23:22:29 +0000
commitb64a6dbdbb123ca444bd4c15c845188ee49ed2f9 (patch)
tree0378fb3ac474a40cdce577a41d0c3169a4a6f94d /gcc/config/mips/linux64.h
parent9c57e1e889c1e698e70c012fa3f205ac4ecb2cd2 (diff)
downloadgcc-b64a6dbdbb123ca444bd4c15c845188ee49ed2f9.zip
gcc-b64a6dbdbb123ca444bd4c15c845188ee49ed2f9.tar.gz
gcc-b64a6dbdbb123ca444bd4c15c845188ee49ed2f9.tar.bz2
linux.h, linux64.h (LIB_SPEC): Always imply -lpthread for -pthread.
* config/mips/linux.h, config/mips/linux64.h (LIB_SPEC): Always imply -lpthread for -pthread. From-SVN: r125688
Diffstat (limited to 'gcc/config/mips/linux64.h')
-rw-r--r--gcc/config/mips/linux64.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/config/mips/linux64.h b/gcc/config/mips/linux64.h
index 92e326e..e4b7fd6 100644
--- a/gcc/config/mips/linux64.h
+++ b/gcc/config/mips/linux64.h
@@ -34,9 +34,10 @@ NO_SHARED_SPECS \
#undef LIB_SPEC
#define LIB_SPEC "\
-%{shared: -lc} \
-%{!shared: %{pthread:-lpthread} \
- %{profile:-lc_p} %{!profile: -lc}}"
+%{pthread:-lpthread} \
+%{shared:-lc} \
+%{!shared: \
+ %{profile:-lc_p} %{!profile:-lc}}"
#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld.so.1"