diff options
author | John Ericson <git@JohnEricson.me> | 2019-01-09 22:48:12 -0500 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-01-10 23:02:23 +0200 |
commit | 913c87b32777ca43c157b88f1294d415b08f47b8 (patch) | |
tree | e7056184a0939cc756194712aeeb77dff28f8fe7 | |
parent | 9223ffdc116a519b6db73dae15705ae968945bde (diff) | |
download | meson-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.py | 2 |
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: |