From: Bruce Momjian Date: Wed, 31 Dec 2003 16:14:44 +0000 (+0000) Subject: Make Solaris non-gcc thread flag "-mt" a compile flag, not a link flag. X-Git-Tag: REL8_0_0BETA1~1426 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8042c79fd169725774a6d34eda30e94b2246236e;p=postgresql Make Solaris non-gcc thread flag "-mt" a compile flag, not a link flag. --- diff --git a/src/template/solaris b/src/template/solaris index fbb574fe88..6dd807859a 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"