From 222b075b3ff0d9e88aa9353e3c80667756ed7361 Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Aug 06 2012 15:27:41 +0000 Subject: Don't treat warnings as errors when building perf. (rhbz 845758) --- diff --git a/kernel.spec b/kernel.spec index 9f4897a..9e286cb 100644 --- a/kernel.spec +++ b/kernel.spec @@ -1905,7 +1905,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 EXTRA_CFLAGS="-Wno-error=array-bounds" HAVE_CPLUS_DEMANGLE=1 prefix=%{_prefix} %if %{with_perf} # perf %{perf_make} all @@ -2350,6 +2350,9 @@ fi # '-' | | # '-' %changelog +* Mon Aug 06 2012 Dave Jones +- Don't treat warnings as errors when building perf. (rhbz 845758) + * Fri Aug 03 2012 Josh Boyer - CVE-2012-3412 sfc: potential rDOS through TCP MSS option (rhbz 844714 845558)