summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2010-08-10 02:41:59 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-08-10 02:44:42 -0700
commit85a5ae02a7e262ffb5f4f51d1ea063e2669b0556 (patch)
treec8278122dd3585a172124a196fb1f4ff9adc4d62
parentb56548d530a3c6b059906e2bd242e7845434e07b (diff)
build: Solaris sigwait needs _POSIX_PTHREAD_SEMANTICS
Signed-off-by: Shehjar Tikoo <shehjart@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1178 (Gluster mainline build fails on Solaris) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1178
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 53d36cd6a..915e82541 100644
--- a/configure.ac
+++ b/configure.ac
@@ -369,7 +369,7 @@ case $host_os in
;;
solaris*)
GF_HOST_OS="GF_SOLARIS_HOST_OS"
- GF_CFLAGS="${ARGP_STANDALONE_CPPFLAGS} -D_REENTRANT"
+ GF_CFLAGS="${ARGP_STANDALONE_CPPFLAGS} -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS"
GF_LDFLAGS=""
GF_GLUSTERFS_CFLAGS="${GF_CFLAGS}"
GF_LDADD="${ARGP_STANDALONE_LDADD}"