Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Branch b_head_libcfs
[fs/lustre-release.git]
/
build
/
autoconf
/
lustre-build.m4
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