summaryrefslogtreecommitdiff
path: root/gcc/config/sol26.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/sol26.h')
-rw-r--r--gcc/config/sol26.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/sol26.h b/gcc/config/sol26.h
index 5d920339712..d5b7dda2a5f 100644
--- a/gcc/config/sol26.h
+++ b/gcc/config/sol26.h
@@ -21,7 +21,7 @@ Boston, MA 02110-1301, USA. */
#undef CPP_SUBTARGET_SPEC
#define CPP_SUBTARGET_SPEC "\
-%{pthreads:-D_REENTRANT -D_PTHREADS95} \
-%{!pthreads:%{threads:-D_REENTRANT -D_SOLARIS_THREADS}} \
+%{pthreads|pthread:-D_REENTRANT -D_PTHREADS95} \
+%{!pthreads:%{!pthread:%{threads:-D_REENTRANT -D_SOLARIS_THREADS}}} \
%{compat-bsd:-iwithprefixbefore ucbinclude -I/usr/ucbinclude} \
"