summaryrefslogtreecommitdiffstats
path: root/collab/openldap/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'collab/openldap/BUILD')
-rwxr-xr-xcollab/openldap/BUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/collab/openldap/BUILD b/collab/openldap/BUILD
index 6bcee0c202..b08926fc04 100755
--- a/collab/openldap/BUILD
+++ b/collab/openldap/BUILD
@@ -1,3 +1,7 @@
+#Fails to build without extra CPPFLAG
+# See http://www.openldap.org/lists/openldap-bugs/200804/msg00074.html
+CPPFLAGS="-D_GNU_SOURCE $CPPFLAGS"
+
OPTS="$OPTS
$OPENLDAP_SLAPD $SLAPD_ACI $SLAPD_DNSSRV $SLAPD_MONITOR
$OPENLDAP_SLURPD