From: S.Çağlar Onur Date: Fri, 10 Dec 2010 19:53:34 +0000 (-0500) Subject: remove -Werror from KBUILD flags X-Git-Tag: linux-2.6-32-2~3 X-Git-Url: http://git.onelab.eu/?p=linux-2.6.git;a=commitdiff_plain;h=90f4dcb90886ed649a345bfcf3341ba65223de6a remove -Werror from KBUILD flags --- diff --git a/kernel-2.6.spec b/kernel-2.6.spec index ba84a0bc2..24fb21d43 100644 --- a/kernel-2.6.spec +++ b/kernel-2.6.spec @@ -645,7 +645,7 @@ Patch12: linux-2.6-550-raise-default-nfile-ulimit.patch Patch13: linux-2.6-570-tagxid.patch Patch14: linux-2.6-580-show-proc-virt.patch Patch15: linux-2.6-590-dcookies-mm.patch -#Patch16: linux-2.6-591-chopstix-intern.patch +Patch16: linux-2.6-591-chopstix-intern.patch Patch17: linux-2.6-640-netlink-audit-hack.patch Patch18: linux-2.6-650-hangcheck-reboot.patch Patch19: linux-2.6-660-nmi-watchdog-default.patch @@ -941,8 +941,7 @@ ApplyPatch linux-2.6-550-raise-default-nfile-ulimit.patch ApplyPatch linux-2.6-570-tagxid.patch ApplyPatch linux-2.6-580-show-proc-virt.patch ApplyPatch linux-2.6-590-dcookies-mm.patch -# fails with -Wall build -#ApplyPatch linux-2.6-591-chopstix-intern.patch +ApplyPatch linux-2.6-591-chopstix-intern.patch ApplyPatch linux-2.6-640-netlink-audit-hack.patch ApplyPatch linux-2.6-650-hangcheck-reboot.patch ApplyPatch linux-2.6-660-nmi-watchdog-default.patch @@ -1027,6 +1026,11 @@ 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