From: Bruce Momjian Date: Sun, 14 Mar 2004 23:51:48 +0000 (+0000) Subject: Update Solaris thread flags, per Jim Seymour X-Git-Tag: REL8_0_0BETA1~996 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=64fe1fd2394cfd14346cef3845529b053a1d5998;p=postgresql Update Solaris thread flags, per Jim Seymour --- diff --git a/src/template/solaris b/src/template/solaris index 7534c7fe57..07c79e9067 100644 --- a/src/template/solaris +++ b/src/template/solaris @@ -11,8 +11,8 @@ esac # tools/thread/thread_test must be run if test "$GCC" = yes -then THREAD_LIBS="-pthread" -else THREAD_CPPFLAGS="-mt" +then THREAD_CPPFLAGS="-D_POSIX_PTHREAD_SEMANTICS" + THREAD_LIBS="-pthread" +else THREAD_CPPFLAGS="-mt -D_POSIX_PTHREAD_SEMANTICS" THREAD_LIBS="-lpthread" fi -