imply -lpthread for -pthread.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125688
138bc75d-0d04-0410-961f-
82ee72b054a4
+2007-06-13 Thiemo Seufer <ths@networkno.de>
+
+ * config/mips/linux.h, config/mips/linux64.h (LIB_SPEC): Always
+ imply -lpthread for -pthread.
+
2007-06-13 Kazu Hirata <kazu@codesourcery.com>
* basic-block.h: Remove the prototype for
#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 MD_UNWIND_SUPPORT "config/mips/linux-unwind.h"
#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"