mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Fix Solaris thread build settings for non-gcc compilers.
This commit is contained in:
@ -11,8 +11,9 @@ esac
|
|||||||
|
|
||||||
THREAD_SUPPORT=yes
|
THREAD_SUPPORT=yes
|
||||||
NEED_REENTRANT_FUNCS=yes # 5.6 2003-09-13
|
NEED_REENTRANT_FUNCS=yes # 5.6 2003-09-13
|
||||||
if test "$GCC" != yes
|
if test "$GCC" = yes
|
||||||
then THREAD_CPPFLAGS="-mt"
|
then THREAD_LIBS="-pthread"
|
||||||
|
else THREAD_CPPFLAGS="-mt"
|
||||||
|
THREAD_LIBS="-lpthread"
|
||||||
fi
|
fi
|
||||||
THREAD_LIBS="-pthread"
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user