From: S.Çağlar Onur Date: Fri, 10 Dec 2010 19:59:31 +0000 (-0500) Subject: move sed expr. into function X-Git-Tag: linux-2.6-32-2~2 X-Git-Url: http://git.onelab.eu/?p=linux-2.6.git;a=commitdiff_plain;h=39b7c72914c8333f1b73824e4f416fb8294dcea3 move sed expr. into function --- diff --git a/kernel-2.6.spec b/kernel-2.6.spec index 24fb21d43..8b132eefe 100644 --- a/kernel-2.6.spec +++ b/kernel-2.6.spec @@ -1026,11 +1026,6 @@ cd .. ### %build -#### Planet-Lab #### -# -Werror breaks F14 builds -sed -i -e "s:-Wno-array-bounds -Werror:-Wno-array-bounds:g" Makefile -#### Planet-Lab #### - %if %{with_sparse} %define sparse_mflags C=1 %endif @@ -1082,6 +1077,11 @@ BuildKernel() { %endif %endif + #### Planet-Lab #### + # -Werror breaks F14 builds + sed -i -e "s:-Wno-array-bounds -Werror:-Wno-array-bounds:g" Makefile + #### Planet-Lab #### + # and now to start the build process make -s mrproper