projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d98c20
)
Update Solaris thread flags, per Jim Seymour
author
Bruce Momjian
<
[email protected]
>
Sun, 14 Mar 2004 23:51:57 +0000
(23:51 +0000)
committer
Bruce Momjian
<
[email protected]
>
Sun, 14 Mar 2004 23:51:57 +0000
(23:51 +0000)
src/template/solaris
patch
|
blob
|
blame
|
history
diff --git
a/src/template/solaris
b/src/template/solaris
index 489bece9489b45559b911471fd3d5a90fa265fdb..fd3240214467d6c55f74ba81131b88e96bc3ff01 100644
(file)
--- a/
src/template/solaris
+++ b/
src/template/solaris
@@
-12,8
+12,8
@@
esac
THREAD_SUPPORT=yes
NEED_REENTRANT_FUNCS=yes # 5.6 2003-09-13
if test "$GCC" = yes
-then THREAD_LIBS="-pthread"
-else THREAD_CPPFLAGS="-mt"
+then THREAD_CPPFLAGS="-D_POSIX_PTHREAD_SEMANTICS"
+ THREAD_LIBS="-pthread"
+else THREAD_CPPFLAGS="-mt -D_POSIX_PTHREAD_SEMANTICS"
THREAD_LIBS="-lpthread"
fi
-