Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f67762
)
Branch b_head_libcfs
author
robert.read
<robert.read>
Thu, 3 Jul 2008 20:48:32 +0000
(20:48 +0000)
committer
robert.read
<robert.read>
Thu, 3 Jul 2008 20:48:32 +0000
(20:48 +0000)
b=16159
i=isaac
Cleanup liblustre.
build/autoconf/lustre-build.m4
patch
|
blob
|
history
diff --git
a/build/autoconf/lustre-build.m4
b/build/autoconf/lustre-build.m4
index
0660393
..
5ccadc6
100644
(file)
--- 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