mirror of
https://github.com/postgres/postgres.git
synced 2025-04-20 00:42:27 +03:00
Adjustment for unixware threading.
This commit is contained in:
parent
bb0b73cd73
commit
b72c1b9f63
@ -1,12 +1,14 @@
|
|||||||
if test "$GCC" = yes; then
|
if test "$GCC" = yes; then
|
||||||
CFLAGS=-O2
|
CFLAGS=-O2
|
||||||
|
THREAD_CFLAGS="-pthread"
|
||||||
else
|
else
|
||||||
# the -Kno_host is temporary for a bug in the compiler. See -hackers
|
# the -Kno_host is temporary for a bug in the compiler. See -hackers
|
||||||
# discussion on 7-8/Aug/2003.
|
# discussion on 7-8/Aug/2003.
|
||||||
# when the 7.1.3UP3 or later compiler is out, we can do a version check.
|
# when the 7.1.3UP3 or later compiler is out, we can do a version check.
|
||||||
CFLAGS='-O -Kinline,no_host'
|
CFLAGS='-O -Kinline,no_host'
|
||||||
|
THREAD_CFLAGS="-K pthread"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SUPPORTS_THREADS=yes
|
SUPPORTS_THREADS=yes
|
||||||
THREAD_CFLAGS="-D_REENTRANT -K pthread"
|
THREAD_CFLAGS += -D_REENTRANT
|
||||||
NEED_REENTRANT_FUNC_NAMES=yes
|
NEED_REENTRANT_FUNC_NAMES=yes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user