X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fconfig%2Fsol2.h;h=5ffaf575830c6ff3a489aa1486bb7ac601c3274c;hb=b5a0636d0b999957265e206ca9e6da21490ebb8d;hp=51f9bd82e977e9974f981e1fade9ced7c0a85cf0;hpb=a3b9d369501884ed81bb84239df3727f47fb64e4;p=pf3gnuchains%2Fgcc-fork.git 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