mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Rename thread compile flag. Move thread test program to tools/thread,
and improve tests.
This commit is contained in:
@ -1,14 +1,14 @@
|
||||
if test "$GCC" = yes; then
|
||||
CFLAGS=-O2
|
||||
THREAD_CFLAGS="-pthread"
|
||||
THREAD_CPPFLAGS="-pthread"
|
||||
else
|
||||
# the -Kno_host is temporary for a bug in the compiler. See -hackers
|
||||
# discussion on 7-8/Aug/2003.
|
||||
# when the 7.1.3UP3 or later compiler is out, we can do a version check.
|
||||
CFLAGS='-O -Kinline,no_host'
|
||||
THREAD_CFLAGS="-K pthread"
|
||||
THREAD_CPPFLAGS="-K pthread"
|
||||
fi
|
||||
|
||||
SUPPORTS_THREADS=yes
|
||||
NEED_REENTRANT_FUNCS=no # verified 7.1.3 2003-09-03
|
||||
THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
|
||||
THREAD_CPPFLAGS="$THREAD_CPPFLAGS -D_REENTRANT"
|
||||
|
Reference in New Issue
Block a user