From: johann Date: Thu, 28 May 2009 09:39:50 +0000 (+0000) Subject: Branch b_release_1_8_1 X-Git-Tag: v1_8_0_123~10 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=d09839a0fcc21d8e756f8c6eb90aef7d6c54a851;p=fs%2Flustre-release.git Branch b_release_1_8_1 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 5100462..515a5b0 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -2247,6 +2247,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])