toolchain: fix filtered_archs issue

This commit is contained in:
Mathieu Virbel 2015-02-25 18:46:57 +01:00
parent c9fd9b9c96
commit 6aed3da309

View file

@ -709,7 +709,7 @@ class Recipe(object):
if self.include_per_arch: if self.include_per_arch:
archs = self.ctx.archs archs = self.ctx.archs
else: else:
archs = self.filtered_archs[0] archs = self.filtered_archs[:1]
include_dirs = self.include_dir include_dirs = self.include_dir
if not isinstance(include_dirs, (list, tuple)): if not isinstance(include_dirs, (list, tuple)):