Do not print build compiler info when not cross compiling. It is confusing.

pull/5777/head
Jussi Pakkanen 5 years ago
parent 81eecb25ad
commit b739652bc4
  1. 5
      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()

Loading…
Cancel
Save