waf: gbenchmark: disable cross-compilation

That's a temporary solution to allow cross compilation for the common binaries.
We can enable cross compilation of benchmark later.
This commit is contained in:
Gustavo Jose de Sousa 2015-12-11 16:21:11 -02:00 committed by Lucas De Marchi
parent e7312a1f81
commit 41e2a8cf1e

View File

@ -41,6 +41,14 @@ def configure(cfg):
env = cfg.env
env.HAS_GBENCHMARK = False
if env.TOOLCHAIN != 'native':
cfg.msg(
'Gbenchmark',
'cross-compilation currently not supported',
color='YELLOW',
)
return
cfg.start_msg('Checking for gbenchmark submodule')
cmake_lists = cfg.srcnode.find_resource('modules/gbenchmark/CMakeLists.txt')
if not cmake_lists: