mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
Update gcc solaris flags.
This commit is contained in:
parent
dbd5390ad4
commit
fda3449625
@ -11,9 +11,8 @@ esac
|
||||
|
||||
# tools/thread/thread_test must be run
|
||||
# -D_POSIX_PTHREAD_SEMANTICS enables 5-arg getpwuid_r, among other things
|
||||
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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user