[sheepdog] [PATCH 1/8] configure: add micro _LGPL_SOURCE to make sheep use liburcu

levin li levin108 at gmail.com
Mon Jul 9 08:29:15 CEST 2012


From: levin li <xingke.lwp at taobao.com>


Signed-off-by: levin li <xingke.lwp at taobao.com>
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 7a3e3ab..be041ae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -371,7 +371,7 @@ fi
 # final build of *FLAGS
 CFLAGS="$ENV_CFLAGS $OPT_CFLAGS $GDB_FLAGS $OS_CFLAGS \
 	$TRACE_CFLAGS $COVERAGE_CFLAGS $EXTRA_WARNINGS $WERROR_CFLAGS $NSS_CFLAGS \
-	-D_GNU_SOURCE"
+	-D_GNU_SOURCE -D_LGPL_SOURCE"
 CPPFLAGS="$ENV_CPPFLAGS $ANSI_CPPFLAGS $OS_CPPFLAGS"
 LDFLAGS="$ENV_LDFLAGS $COVERAGE_LDFLAGS $OS_LDFLAGS $TRACE_LDFLAGS"
 
-- 
1.7.1




More information about the sheepdog mailing list