harness: fix release build to ignore unused variables
[barrelfish] / tools / harness / builds.py
index 126d52f..89d6cc1 100644 (file)
@@ -167,7 +167,7 @@ class HakeReleaseBuild(HakeBuildBase):
 
     def _get_hake_conf(self, *args):
         conf = super(HakeReleaseBuild, self)._get_hake_conf(*args)
-        conf["cOptFlags"] = "[\"-O2\", \"-DNDEBUG\"]"
+        conf["cOptFlags"] = "[\"-O2\", \"-DNDEBUG\", \"-Wno-unused-variable\"]"
         return conf
 
 class HakeTestBuild(HakeBuildBase):