From 8e09d12f60d2fb1f47ab960bd4f7fb854b5c6826 Mon Sep 17 00:00:00 2001 From: "robert.read" Date: Thu, 3 Jul 2008 20:48:32 +0000 Subject: [PATCH] Branch b_head_libcfs b=16159 i=isaac Cleanup liblustre. --- build/autoconf/lustre-build.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/autoconf/lustre-build.m4 b/build/autoconf/lustre-build.m4 index 0660393..5ccadc6 100644 --- a/build/autoconf/lustre-build.m4 +++ b/build/autoconf/lustre-build.m4 @@ -598,7 +598,8 @@ CPPFLAGS="-I\$(top_builddir)/$LIBCFS_INCLUDE_DIR -I\$(top_srcdir)/$LIBCFS_INCLUD LLCPPFLAGS="-D__arch_lib__ -D_LARGEFILE64_SOURCE=1" AC_SUBST(LLCPPFLAGS) -LLCFLAGS="-g -Wall -fPIC" +# Add _GNU_SOURCE for strnlen on linux +LLCFLAGS="-g -Wall -fPIC -D_GNU_SOURCE" AC_SUBST(LLCFLAGS) # everyone builds against lnet and lustre -- 1.8.3.1