diff options
Diffstat (limited to 'gcc-4.6/gcc/config/gnu-user.h')
-rw-r--r-- | gcc-4.6/gcc/config/gnu-user.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc-4.6/gcc/config/gnu-user.h b/gcc-4.6/gcc/config/gnu-user.h index 1c4e71d1b..703afb5c7 100644 --- a/gcc-4.6/gcc/config/gnu-user.h +++ b/gcc-4.6/gcc/config/gnu-user.h @@ -74,10 +74,12 @@ 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 |