aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-01-08 15:51:38 +0000
committerBruce Momjian <bruce@momjian.us>2004-01-08 15:51:38 +0000
commitf389ff33c31aec73bdd61675791873d6350d540d (patch)
tree0d744131f1cc6f0c4f4e748dff6511a0d1f19376 /src
parent611d33a90ae6c786c33544ecc17e631381e9a933 (diff)
downloadpostgresql-f389ff33c31aec73bdd61675791873d6350d540d.tar.gz
postgresql-f389ff33c31aec73bdd61675791873d6350d540d.zip
Update OSF thread flags for non-gcc compiles.
Diffstat (limited to 'src')
-rw-r--r--src/template/osf6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/template/osf b/src/template/osf
index c2af2350e89..9d2d6b81c1c 100644
--- a/src/template/osf
+++ b/src/template/osf
@@ -5,4 +5,8 @@ fi
THREAD_SUPPORT=yes
NEED_REENTRANT_FUNCS=no # 4.0 2003-09-13
-THREAD_LIBS="-pthread"
+if test "$GCC" = yes
+then THREAD_LIBS="-pthread"
+else THREAD_CPPFLAGS="-pthread"
+ THREAD_LIBS="-lpthread"
+fi