mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Update Solaris thread flags, per Jim Seymour
This commit is contained in:
@ -11,8 +11,8 @@ esac
|
|||||||
|
|
||||||
# tools/thread/thread_test must be run
|
# tools/thread/thread_test must be run
|
||||||
if test "$GCC" = yes
|
if test "$GCC" = yes
|
||||||
then THREAD_LIBS="-pthread"
|
then THREAD_CPPFLAGS="-D_POSIX_PTHREAD_SEMANTICS"
|
||||||
else THREAD_CPPFLAGS="-mt"
|
THREAD_LIBS="-pthread"
|
||||||
|
else THREAD_CPPFLAGS="-mt -D_POSIX_PTHREAD_SEMANTICS"
|
||||||
THREAD_LIBS="-lpthread"
|
THREAD_LIBS="-lpthread"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user