summaryrefslogtreecommitdiff
path: root/src/template
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-03-25 22:12:37 +0000
committerBruce Momjian <bruce@momjian.us>2004-03-25 22:12:37 +0000
commitfda3449625685a91402c1e9fa48e5bcf080674d5 (patch)
tree5fc49688784bf8bb3af009b7108419acb46b0bce /src/template
parentdbd5390ad428c394a119a9ebc015aa3c48409861 (diff)
downloadpostgresql-fda3449625685a91402c1e9fa48e5bcf080674d5.tar.gz
Update gcc solaris flags.
Diffstat (limited to 'src/template')
-rw-r--r--src/template/solaris9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/template/solaris b/src/template/solaris
index 6114c3c1c8..034bb91416 100644
--- a/src/template/solaris
+++ b/src/template/solaris
@@ -11,9 +11,8 @@ esac
# tools/thread/thread_test must be run
# -D_POSIX_PTHREAD_SEMANTICS enables 5-arg getpwuid_r, among other things
-if test "$GCC" = yes
-then THREAD_CPPFLAGS="-D_POSIX_PTHREAD_SEMANTICS"
- THREAD_LIBS="-pthread"
-else THREAD_CPPFLAGS="-mt -D_POSIX_PTHREAD_SEMANTICS"
- THREAD_LIBS="-lpthread"
+THREAD_CPPFLAGS="-D_POSIX_PTHREAD_SEMANTICS"
+if test "$GCC" != yes
+then THREAD_CPPFLAGS="$THREAD_CPPFLAGS -mt"
fi
+THREAD_LIBS="-lpthread"