mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-07 18:23:24 +02:00
15 lines
392 B
Plaintext
15 lines
392 B
Plaintext
if test "$GCC" = yes; then
|
|
CFLAGS=-O2
|
|
THREAD_CFLAGS="-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"
|
|
fi
|
|
|
|
SUPPORTS_THREADS=yes
|
|
NEED_REENTRANT_FUNC_NAMES=yes
|
|
THREAD_CFLAGS += "-D_REENTRANT"
|