From 913c87b32777ca43c157b88f1294d415b08f47b8 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Wed, 9 Jan 2019 22:48:12 -0500 Subject: [PATCH] `environment.cross_info.need_cross_compiler()` doesn't exist It is no longer needed either. --- mesonbuild/mintro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/mintro.py b/mesonbuild/mintro.py index b183d2ad3..df9fe730b 100644 --- a/mesonbuild/mintro.py +++ b/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: