From 90f4dcb90886ed649a345bfcf3341ba65223de6a Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Fri, 10 Dec 2010 14:53:34 -0500 Subject: [PATCH] remove -Werror from KBUILD flags --- kernel-2.6.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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 -- 2.43.0