patch for f16 where tools/perf breaks because of -Werror
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 19 Dec 2011 10:21:34 +0000 (11:21 +0100)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 19 Dec 2011 10:21:34 +0000 (11:21 +0100)
kernel-2.6.spec

index ec0d5b1..827f786 100644 (file)
@@ -1142,6 +1142,11 @@ BuildKernel() {
     sed -i -e "s:-Wno-array-bounds -Werror:-Wno-array-bounds:g" Makefile
     #### Planet-Lab ####
 
+    #### Planet-Lab ####
+    # -Werror breaks F16 builds in tools/perf
+    sed -i -e "s: -Werror : :g" tools/perf/Makefile
+    #### Planet-Lab ####
+
     # and now to start the build process
 
     make -s mrproper