summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2012-03-22 13:07:28 -0400
committerDave Jones <davej@redhat.com>2012-03-22 13:07:28 -0400
commit6bffb49282bb2c0166a5c4131c98b9e205b17766 (patch)
treecb588b55dd879e2d5fe9e38a4ead0388978e76fd
parent7bd4dec4713c108dfe307272f1cfc22071d306a1 (diff)
downloadkernel-6bffb49282bb2c0166a5c4131c98b9e205b17766.tar.gz
kernel-6bffb49282bb2c0166a5c4131c98b9e205b17766.tar.xz
kernel-6bffb49282bb2c0166a5c4131c98b9e205b17766.zip
don't fail the build after an hour just because of some gcc warning.
-rw-r--r--kernel.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel.spec b/kernel.spec
index 98cc2ce9f..f4fea4b94 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