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

This commit is contained in:
Dave Jones 2012-03-22 13:07:28 -04:00
parent 7bd4dec471
commit 6bffb49282

View File

@ -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