mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
Add new auto-detection of thread flags.
Allow additional thread flags to be added via port templates. Change thread flag names to PTHREAD_CFLAGS and PTHREAD_LIBS to match new configure script.
This commit is contained in:
@ -2,12 +2,4 @@
|
||||
CPPFLAGS="-D_GNU_SOURCE"
|
||||
|
||||
# tools/thread/thread_test must be run
|
||||
THREAD_CPPFLAGS="-D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS"
|
||||
THREAD_LIBS="-lpthread"
|
||||
|
||||
THREAD_SUPPORT=yes
|
||||
# 2004-03-14, Linux 2.4.25-1-686
|
||||
STRERROR_THREADSAFE=yes
|
||||
GETPWUID_THREADSAFE=no
|
||||
GETHOSTBYNAME_THREADSAFE=no
|
||||
|
||||
PTHREAD_CFLAGS="-D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS"
|
||||
|
Reference in New Issue
Block a user