aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2003-08-14 21:24:38 +0000
committerBruce Momjian <bruce@momjian.us>2003-08-14 21:24:38 +0000
commitb72c1b9f63c1e23ab4dfe85c77a6956c6f598e4c (patch)
tree0c93e0fdd35d59ebaa8c62ae7633bb1ad4c835af /src
parentbb0b73cd73f4b14557035898307bb1a90018d66d (diff)
downloadpostgresql-b72c1b9f63c1e23ab4dfe85c77a6956c6f598e4c.tar.gz
postgresql-b72c1b9f63c1e23ab4dfe85c77a6956c6f598e4c.zip
Adjustment for unixware threading.
Diffstat (limited to 'src')
-rw-r--r--src/template/unixware4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/template/unixware b/src/template/unixware
index ae169b1b08e..a948761596b 100644
--- a/src/template/unixware
+++ b/src/template/unixware
@@ -1,12 +1,14 @@
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
-THREAD_CFLAGS="-D_REENTRANT -K pthread"
+THREAD_CFLAGS += -D_REENTRANT
NEED_REENTRANT_FUNC_NAMES=yes