]> granicus.if.org Git - postgresql/commitdiff
Make Solaris non-gcc thread flag "-mt" a compile flag, not a link flag.
authorBruce Momjian <bruce@momjian.us>
Wed, 31 Dec 2003 16:14:44 +0000 (16:14 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 31 Dec 2003 16:14:44 +0000 (16:14 +0000)
src/template/solaris

index fbb574fe88f65e5f025ae6e125d85e13eb03bb56..6dd807859acab9888600b153f25a77895d32aca6 100644 (file)
@@ -11,8 +11,8 @@ esac
 
 THREAD_SUPPORT=yes
 NEED_REENTRANT_FUNCS=yes       # 5.6 2003-09-13
-THREAD_LIBS="-pthread"
 if test "$GCC" != yes 
-then   THREAD_LIBS="-mt $THREAD_LIBS"
+then   THREAD_CPPFLAGS="-mt"
 fi
+THREAD_LIBS="-pthread"