diff options
author | Nick Clifton <nickc@gcc.gnu.org> | 2007-06-19 10:36:11 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2007-06-19 10:36:11 +0000 |
commit | a3a7addb9c1f1f36393a053b09bb9e2555c01580 (patch) | |
tree | ea40dc430d47198deaa7f1a5d2aec8bf8ebf399d /gcc/config/m32r | |
parent | fda2b8e358dbd6c086db9229f30adb1011afca84 (diff) | |
download | gcc-a3a7addb9c1f1f36393a053b09bb9e2555c01580.tar.gz |
* config/m32r/linux.h (LIB_SPEC): Always imply -lpthread for -pthread.
From-SVN: r125845
Diffstat (limited to 'gcc/config/m32r')
-rw-r--r-- | gcc/config/m32r/linux.h | 8 |
1 files 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 |