`environment.cross_info.need_cross_compiler()` doesn't exist

It is no longer needed either.
pull/4765/head
John Ericson 6 years ago committed by Jussi Pakkanen
parent 9223ffdc11
commit 913c87b327
  1. 2
      mesonbuild/mintro.py

@ -217,7 +217,7 @@ class BuildoptionsInterperter(astinterpreter.AstInterpreter):
return flattend_args
def add_languages(self, args):
need_cross_compiler = self.environment.is_cross_build() and self.environment.cross_info.need_cross_compiler()
need_cross_compiler = self.environment.is_cross_build()
for lang in sorted(args, key=compilers.sort_clink):
lang = lang.lower()
if lang not in self.coredata.compilers:

Loading…
Cancel
Save