Fix build issue on F16
authorSapan Bhatia <gwsapan@gmail.com>
Tue, 24 Jan 2012 17:25:51 +0000 (12:25 -0500)
committerSapan Bhatia <gwsapan@gmail.com>
Tue, 24 Jan 2012 17:25:51 +0000 (12:25 -0500)
kernel-2.6.spec

index 8b8b761..b0215f9 100644 (file)
@@ -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