aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2019-01-09 22:48:12 -0500
committerJussi Pakkanen <jpakkane@gmail.com>2019-01-10 23:02:23 +0200
commit913c87b32777ca43c157b88f1294d415b08f47b8 (patch)
treee7056184a0939cc756194712aeeb77dff28f8fe7
parent9223ffdc116a519b6db73dae15705ae968945bde (diff)
downloadmeson-913c87b32777ca43c157b88f1294d415b08f47b8.zip
meson-913c87b32777ca43c157b88f1294d415b08f47b8.tar.gz
meson-913c87b32777ca43c157b88f1294d415b08f47b8.tar.bz2
`environment.cross_info.need_cross_compiler()` doesn't exist
It is no longer needed either.
-rw-r--r--mesonbuild/mintro.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mintro.py b/mesonbuild/mintro.py
index b183d2a..df9fe73 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: