]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/m32r/linux.h (LIB_SPEC): Always imply -lpthread for -pthread.
authorNick Clifton <nickc@gcc.gnu.org>
Tue, 19 Jun 2007 10:36:11 +0000 (10:36 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Tue, 19 Jun 2007 10:36:11 +0000 (10:36 +0000)
From-SVN: r125845

gcc/config/m32r/linux.h

index 5e31e46af0abfa5b39fe796436a538e9b3187df8..00ab9693de8a2f771a8e7cb3d2d8a6e3b0b6553d 100644 (file)
 
 #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