[kernel] don't fail the build after an hour just because of some gcc warning.

Dave Jones davej at fedoraproject.org
Thu Mar 22 17:08:09 UTC 2012


commit 6bffb49282bb2c0166a5c4131c98b9e205b17766
Author: Dave Jones <davej at redhat.com>
Date:   Thu Mar 22 13:07:28 2012 -0400

    don't fail the build after an hour just because of some gcc warning.

 kernel.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/kernel.spec b/kernel.spec
index 98cc2ce..f4fea4b 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1897,7 +1897,7 @@ BuildKernel %make_target %kernel_image smp
 %endif
 
 %global perf_make \
-  make %{?_smp_mflags} -C tools/perf -s V=1 EXTRA_CFLAGS="-Wno-error=array-bounds" HAVE_CPLUS_DEMANGLE=1 prefix=%{_prefix}
+  make %{?_smp_mflags} -C tools/perf -s V=1 WERROR=0 HAVE_CPLUS_DEMANGLE=1 prefix=%{_prefix}
 %if %{with_perf}
 # perf
 %{perf_make} all


More information about the scm-commits mailing list