diff options
author | Bruce Momjian | 2004-03-14 23:51:48 +0000 |
---|---|---|
committer | Bruce Momjian | 2004-03-14 23:51:48 +0000 |
commit | 64fe1fd2394cfd14346cef3845529b053a1d5998 (patch) | |
tree | 4d5fd662a6ad02dff7e8424ca5f67e368649b0fa | |
parent | 04226b640493a206b9927b8160fb48b864efcce6 (diff) |
Update Solaris thread flags, per Jim Seymour
-rw-r--r-- | src/template/solaris | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/template/solaris b/src/template/solaris index 7534c7fe578..07c79e9067e 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 - |