[Lunar-commits] <moonbase> openldap: fix the build. Not all the flags are bad.

Zachary McGrew zmcgrew at lunar-linux.org
Fri May 8 05:45:24 CEST 2009


commit bd4be11f3560410201f59dbbd028843f35dd2855
Author: Zachary McGrew <zmcgrew at lunar-linux.org>
Date:   Thu May 7 20:45:24 2009 -0700

    openldap: fix the build. Not all the flags are bad.
---
 utils/openldap/BUILD |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/utils/openldap/BUILD b/utils/openldap/BUILD
index d33cb28..be44f9f 100644
--- a/utils/openldap/BUILD
+++ b/utils/openldap/BUILD
@@ -1,6 +1,7 @@
 (
 
   bad_flags ALL
+  export CPPFLAGS=-D_GNU_SOURCE
 
   ./configure  --build=$BUILD             \
                --prefix=/usr              \
@@ -24,6 +25,6 @@
                --enable-dnssrv            \
                $OPTS                     &&
   make depend                            &&
-  default_make  
+  default_make
 
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list