summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2004-01-08 15:51:38 +0000
committerBruce Momjian2004-01-08 15:51:38 +0000
commit77ae3504b3f5ba0493a2074b068d92ab90f3bb71 (patch)
tree9f1c9f4038af912326d6370b5c4601168c9657ab
parente4047d729061023010ece41339504e1fd2357d7d (diff)
Update OSF thread flags for non-gcc compiles.
-rw-r--r--src/template/osf6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/template/osf b/src/template/osf
index c2af2350e8..9d2d6b81c1 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