harness: fix release build to ignore unused variables
authorSimon Gerber <simon.gerber@inf.ethz.ch>
Tue, 29 Aug 2017 14:13:44 +0000 (16:13 +0200)
committerSimon Gerber <simon.gerber@inf.ethz.ch>
Tue, 29 Aug 2017 14:26:38 +0000 (16:26 +0200)
Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>

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):