diff options
author | Bruce Momjian <bruce@momjian.us> | 2004-03-25 22:13:44 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2004-03-25 22:13:44 +0000 |
commit | 52e33bab6f1d201f3d516732e40978f15773fff9 (patch) | |
tree | 584de3b28d73d616c2801be39d864e9a044e2d56 /src | |
parent | fb411a47681fe53112116124851b188199a3def5 (diff) |
Update solaris for threading.
Diffstat (limited to 'src')
-rw-r--r-- | src/template/solaris | 9 |
1 files changed, 4 insertions, 5 deletions
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" |