aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/template/solaris4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/template/solaris b/src/template/solaris
index fbb574fe88f..6dd807859ac 100644
--- a/src/template/solaris
+++ b/src/template/solaris
@@ -11,8 +11,8 @@ esac
THREAD_SUPPORT=yes
NEED_REENTRANT_FUNCS=yes # 5.6 2003-09-13
-THREAD_LIBS="-pthread"
if test "$GCC" != yes
-then THREAD_LIBS="-mt $THREAD_LIBS"
+then THREAD_CPPFLAGS="-mt"
fi
+THREAD_LIBS="-pthread"