From: Sapan Bhatia <gwsapan@gmail.com>
Date: Tue, 24 Jan 2012 17:25:51 +0000 (-0500)
Subject: Fix build issue on F16
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=f3818a927d511984852fa6a573bc15811b65cc78;p=linux-2.6.git

Fix build issue on F16
---

diff --git a/kernel-2.6.spec b/kernel-2.6.spec
index 8b8b7612a..b0215f994 100644
--- a/kernel-2.6.spec
+++ b/kernel-2.6.spec
@@ -1117,8 +1117,9 @@ BuildKernel() {
     %endif
 
     #### Planet-Lab ####
-    # -Werror breaks F14 builds
+    # -Werror breaks F14+ builds
     sed -i -e "s:-Wno-array-bounds -Werror:-Wno-array-bounds:g" Makefile
+    sed -i -e "s: -Werror::g" tools/perf/Makefile
     #### Planet-Lab ####
 
     # and now to start the build process