diff options
author | Eric Botcazou <ebotcazou@libertysurf.fr> | 2006-02-07 21:50:37 +0100 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2006-02-07 20:50:37 +0000 |
commit | f5e2061b4576b23ffa446c5b11344edb4dc56ac7 (patch) | |
tree | b96282e6a5e9e612485b3412fae97a6ab998b9e0 /gcc/config/sol2.h | |
parent | 7931b1be5085e60b308a7d6c4d7e26c6ab9bc1ef (diff) | |
download | gcc-f5e2061b4576b23ffa446c5b11344edb4dc56ac7.tar.gz |
sol26.h (CPP_SUBTARGET_SPEC): Accept -pthread.
* config/sol26.h (CPP_SUBTARGET_SPEC): Accept -pthread.
* config/sol2.h (CPP_SUBTARGET_SPEC): Likewise.
(LIB_SPEC): Likewise.
* doc/invoke.texi (SPARC options): Document -pthread.
From-SVN: r110717
Diffstat (limited to 'gcc/config/sol2.h')
-rw-r--r-- | gcc/config/sol2.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h index 51f9bd82e97..5ffaf575830 100644 --- a/gcc/config/sol2.h +++ b/gcc/config/sol2.h @@ -47,8 +47,8 @@ Boston, MA 02110-1301, USA. */ #undef CPP_SUBTARGET_SPEC #define CPP_SUBTARGET_SPEC "\ -%{pthreads:-D_REENTRANT -D_PTHREADS} \ -%{!pthreads:%{threads:-D_REENTRANT -D_SOLARIS_THREADS}} \ +%{pthreads|pthread:-D_REENTRANT -D_PTHREADS} \ +%{!pthreads:%{!pthread:%{threads:-D_REENTRANT -D_SOLARIS_THREADS}}} \ %{compat-bsd:-iwithprefixbefore ucbinclude -I/usr/ucbinclude} \ " @@ -93,8 +93,8 @@ Boston, MA 02110-1301, USA. */ "%{compat-bsd:-lucb -lsocket -lnsl -lelf -laio} \ %{!shared:\ %{!symbolic:\ - %{pthreads:-lpthread} \ - %{!pthreads:%{threads:-lthread}} \ + %{pthreads|pthread:-lpthread} \ + %{!pthreads:%{!pthread:%{threads:-lthread}}} \ %{p|pg:-ldl} -lc}}" #undef ENDFILE_SPEC |