diff options
Diffstat (limited to 'gcc-4.8/gcc/config/gnu-user.h')
-rw-r--r-- | gcc-4.8/gcc/config/gnu-user.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gcc-4.8/gcc/config/gnu-user.h b/gcc-4.8/gcc/config/gnu-user.h index bcdf0e6cc..a924fce15 100644 --- a/gcc-4.8/gcc/config/gnu-user.h +++ b/gcc-4.8/gcc/config/gnu-user.h @@ -73,10 +73,14 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #undef CPLUSPLUS_CPP_SPEC #define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)" -#define GNU_USER_TARGET_LIB_SPEC \ - "%{pthread:-lpthread} \ - %{shared:-lc} \ +#define GNU_USER_TARGET_LIB_SPEC_LESS_PTHREAD \ + "%{shared:-lc} \ %{!shared:%{mieee-fp:-lieee} %{profile:-lc_p}%{!profile:-lc}}" + +#define GNU_USER_TARGET_LIB_SPEC \ + "%{pthread:-lpthread} "\ + GNU_USER_TARGET_LIB_SPEC_LESS_PTHREAD + #undef LIB_SPEC #define LIB_SPEC GNU_USER_TARGET_LIB_SPEC |