remove -Werror from KBUILD flags
authorS.Çağlar Onur <caglar@cs.princeton.edu>
Fri, 10 Dec 2010 19:53:34 +0000 (14:53 -0500)
committerS.Çağlar Onur <caglar@cs.princeton.edu>
Fri, 10 Dec 2010 19:53:34 +0000 (14:53 -0500)
kernel-2.6.spec

index ba84a0b..24fb21d 100644 (file)
@@ -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