projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04226b6
)
Update Solaris thread flags, per Jim Seymour
author
Bruce Momjian
Sun, 14 Mar 2004 23:51:48 +0000
(23:51 +0000)
committer
Bruce Momjian
Sun, 14 Mar 2004 23:51:48 +0000
(23:51 +0000)
src/template/solaris
patch
|
blob
|
blame
|
history
diff --git
a/src/template/solaris
b/src/template/solaris
index 7534c7fe578e79cfda026ca20077b1557782d974..07c79e9067eb589d6571cb47663fe64d2211549d 100644
(file)
--- a/
src/template/solaris
+++ b/
src/template/solaris
@@
-11,8
+11,8
@@
esac
# tools/thread/thread_test must be run
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
-