harness: call hake with a proper architecture
authorAdam Turowski <adam.turowski@inf.ethz.ch>
Thu, 22 Jun 2017 08:59:09 +0000 (10:59 +0200)
committerAdam Turowski <adam.turowski@inf.ethz.ch>
Thu, 22 Jun 2017 08:59:09 +0000 (10:59 +0200)
Signed-off-by: Adam Turowski <adam.turowski@inf.ethz.ch>

tools/harness/builds.py

index 126d52f..938ee4d 100644 (file)
@@ -51,7 +51,7 @@ class HakeBuildBase(Build):
         print archs
         if not os.path.isabs(srcdir):
             srcdir = os.path.relpath(srcdir, self.build_dir)
-        debug.checkcmd([os.path.join(srcdir, "hake", "hake.sh"), "--source-dir", srcdir],
+        debug.checkcmd([os.path.join(srcdir, "hake", "hake.sh"), "--source-dir", srcdir, "-a", archs[0]],
                        cwd=self.build_dir)
 
     def _get_hake_conf(self, srcdir, archs):