]> granicus.if.org Git - postgresql/commitdiff
Update Solaris thread flags, per Jim Seymour
authorBruce Momjian <bruce@momjian.us>
Sun, 14 Mar 2004 23:51:48 +0000 (23:51 +0000)
committerBruce Momjian <bruce@momjian.us>
Sun, 14 Mar 2004 23:51:48 +0000 (23:51 +0000)
src/template/solaris

index 7534c7fe578e79cfda026ca20077b1557782d974..07c79e9067eb589d6571cb47663fe64d2211549d 100644 (file)
@@ -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
-