From: johann Date: Tue, 22 Sep 2009 22:47:55 +0000 (+0000) Subject: Branch b1_8 X-Git-Tag: v1_8_2_01~1^2~80 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=37581dd443f1964c7eab4ddead0d58663b5c0843;p=fs%2Flustre-release.git Branch b1_8 b=15981 Enable Werror by default for i686 and x86_64. --- diff --git a/lustre/autoconf/lustre-core.m4 b/lustre/autoconf/lustre-core.m4 index 5d248e20..f4527e6 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -2160,6 +2160,10 @@ LB_LINUX_TRY_COMPILE([ AC_DEFUN([LC_CONFIGURE], [LC_CONFIG_OBD_BUFFER_SIZE +if test $target_cpu == "i686" -o $target_cpu == "x86_64"; then + CFLAGS="$CFLAGS -Werror" +fi + # include/liblustre.h AC_CHECK_HEADERS([asm/page.h sys/user.h sys/vfs.h stdint.h blkid/blkid.h])