projects
/
users
/
gsingh
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb0b73c
)
Adjustment for unixware threading.
author
Bruce Momjian
<
[email protected]
>
Thu, 14 Aug 2003 21:24:38 +0000
(21:24 +0000)
committer
Bruce Momjian
<
[email protected]
>
Thu, 14 Aug 2003 21:24:38 +0000
(21:24 +0000)
src/template/unixware
patch
|
blob
|
blame
|
history
diff --git
a/src/template/unixware
b/src/template/unixware
index ae169b1b08e0a6895ab40a049e5ae91161e46d0e..a948761596b04c3c424bd77952381047a0497407 100644
(file)
--- 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