summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2004-01-08 15:51:24 +0000
committerBruce Momjian2004-01-08 15:51:24 +0000
commit177ca670950c0dc765719b30e166ca67d4d0d000 (patch)
treeb0b1b66868f237f7d3eaae25a3411d469b4d3e1f
parent002cafe7a48aecf85251bd12eeeb8bbd3a6acf03 (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