diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-07-25 22:50:35 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-07-27 00:55:27 +0300 |
commit | 463d08d5459a05807e63c833b56614bc8c59643a (patch) | |
tree | 28183ff6af3991f549f8eb9151a8a2c56e477ebe /meson.py | |
parent | eb3cdb6f8d380da19231affd176deb8088481a5a (diff) | |
download | meson-463d08d5459a05807e63c833b56614bc8c59643a.zip meson-463d08d5459a05807e63c833b56614bc8c59643a.tar.gz meson-463d08d5459a05807e63c833b56614bc8c59643a.tar.bz2 |
Now host_machine, build_machine and target_machine are properly separated and return correct values.
Diffstat (limited to 'meson.py')
-rwxr-xr-x | meson.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -126,6 +126,9 @@ itself as required.''' mlog.log('Build type:', mlog.bold('native build')) b = build.Build(env) intr = interpreter.Interpreter(b) + if env.is_cross_build(): + mlog.log('Host machine cpu:', mlog.bold(intr.builtin['host_machine'].info['cpu'])) + mlog.log('Target machine cpu:', mlog.bold(intr.builtin['target_machine'].info['cpu'])) intr.run() if self.options.backend == 'ninja': import ninjabackend |