summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmmanuel Dreyfus <manu@netbsd.org>2011-08-12 16:29:28 +0200
committerAnand Avati <avati@gluster.com>2011-11-24 00:33:46 -0800
commitf4297a0eec29b7eba2f1ddfde0d273d5f6660723 (patch)
treec3bb0d1b2de1989d5284439a55078a9e92d3d020
parent26fd1cecc985d3cd4d84c7fa061b371757c34a6e (diff)
NetBSD build tweak to use linkat(2)
linkat()é is guarded by -D_INCOMPLETE_XOPEN_C063 for now since support for OpenGroup extended API set 2 is not yet complete. Change-Id: If1038dac61b6945c73a208c6e05f1154ff913098 BUG: 2923 Reviewed-on: http://review.gluster.com/232 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com> Reviewed-by: Anand Avati <avati@gluster.com>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 2a34a61aff8..ac73858c0e4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -448,7 +448,7 @@ case $host_os in
;;
*netbsd*)
GF_HOST_OS="GF_BSD_HOST_OS"
- GF_CFLAGS="${ARGP_STANDALONE_CPPFLAGS}"
+ GF_CFLAGS="${ARGP_STANDALONE_CPPFLAGS} -D_INCOMPLETE_XOPEN_C063"
GF_GLUSTERFS_CFLAGS="${GF_CFLAGS}"
GF_LDADD="${ARGP_STANDALONE_LDADD}"
if test "x$ac_cv_header_execinfo_h" = "xyes"; then