From a3a7addb9c1f1f36393a053b09bb9e2555c01580 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 19 Jun 2007 10:36:11 +0000 Subject: [PATCH] * config/m32r/linux.h (LIB_SPEC): Always imply -lpthread for -pthread. From-SVN: r125845 --- gcc/config/m32r/linux.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gcc/config/m32r/linux.h b/gcc/config/m32r/linux.h index 5e31e46af0a..00ab9693de8 100644 --- a/gcc/config/m32r/linux.h +++ b/gcc/config/m32r/linux.h @@ -82,9 +82,11 @@ #undef LIB_SPEC #define LIB_SPEC \ - "%{shared: -lc} \ - %{!shared: %{mieee-fp:-lieee} %{pthread:-lpthread} \ - %{profile:-lc_p} %{!profile: -lc}}" + "%{pthread:-lpthread} \ + %{shared: -lc} \ + %{!shared: \ + %{mieee-fp:-lieee} \ + %{profile:-lc_p} %{!profile: -lc}}" #undef STARTFILE_SPEC #if defined HAVE_LD_PIE