Skip to content

Commit

Permalink
Do not print build compiler info when not cross compiling. It is conf…
Browse files Browse the repository at this point in the history
…using.
  • Loading branch information
jpakkane committed Aug 6, 2019
1 parent 81eecb2 commit b739652
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mesonbuild/interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2820,8 +2820,9 @@ def add_languages_for(self, args, required, for_machine: MachineChoice):
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()
Expand Down

0 comments on commit b739652

Please sign in to comment.