diff --git a/src/template/solaris b/src/template/solaris index fd324021446..1487149fd07 100644 --- a/src/template/solaris +++ b/src/template/solaris @@ -11,9 +11,8 @@ esac THREAD_SUPPORT=yes NEED_REENTRANT_FUNCS=yes # 5.6 2003-09-13 -if test "$GCC" = yes -then THREAD_CPPFLAGS="-D_POSIX_PTHREAD_SEMANTICS" - THREAD_LIBS="-pthread" -else THREAD_CPPFLAGS="-mt -D_POSIX_PTHREAD_SEMANTICS" - THREAD_LIBS="-lpthread" +THREAD_CPPFLAGS="-D_POSIX_PTHREAD_SEMANTICS" +if test "$GCC" != yes +then THREAD_CPPFLAGS="$THREAD_CPPFLAGS -mt" fi +THREAD_LIBS="-lpthread"