diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2019-07-17 19:35:46 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-08-06 21:34:15 +0300 |
commit | b739652bc41561ee9e755d9d2aaa4a917abeb556 (patch) | |
tree | e0004115d57f6fe14bfe520b6428fc64943857d2 /mesonbuild/interpreter.py | |
parent | 81eecb25ad147b5db917acfa196f962a2eaa2f6d (diff) | |
download | meson-b739652bc41561ee9e755d9d2aaa4a917abeb556.zip meson-b739652bc41561ee9e755d9d2aaa4a917abeb556.tar.gz meson-b739652bc41561ee9e755d9d2aaa4a917abeb556.tar.bz2 |
Do not print build compiler info when not cross compiling. It is confusing.
Diffstat (limited to 'mesonbuild/interpreter.py')
-rw-r--r-- | mesonbuild/interpreter.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py index 0891094..03bbcc1 100644 --- a/mesonbuild/interpreter.py +++ b/mesonbuild/interpreter.py @@ -2820,8 +2820,9 @@ external dependencies (including libraries) must go to "dependencies".''') continue else: raise - mlog.log(comp.get_display_language(), 'compiler for the', machine_name, 'machine:', - mlog.bold(' '.join(comp.get_exelist())), comp.get_version_string()) + if machine_name != 'build' or self.environment.is_cross_build(): + mlog.log(comp.get_display_language(), 'compiler for the', machine_name, 'machine:', + mlog.bold(' '.join(comp.get_exelist())), comp.get_version_string()) self.build.ensure_static_linker(comp) langs = self.coredata.compilers[for_machine].keys() |