summaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter.py
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2019-01-09 15:55:24 -0500
committerJussi Pakkanen <jpakkane@gmail.com>2019-01-10 22:59:01 +0200
commit17a602a4ec7187db4c80ecb2a1f137dc86717ea0 (patch)
treeea973ff5cb3f67c9f0dc0f24a2b4d27915122b73 /mesonbuild/interpreter.py
parent13fe2e40ebedebcf2aed8f6088bffb8fdfc006bb (diff)
downloadmeson-17a602a4ec7187db4c80ecb2a1f137dc86717ea0.tar.gz
Remove spurious case in interpreter
`need_cross_compiler = is_cross_build()`, so the condition is always false.
Diffstat (limited to 'mesonbuild/interpreter.py')
-rw-r--r--mesonbuild/interpreter.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py
index 9ebce7039..83ca336a7 100644
--- a/mesonbuild/interpreter.py
+++ b/mesonbuild/interpreter.py
@@ -2713,8 +2713,6 @@ external dependencies (including libraries) must go to "dependencies".''')
mlog.log('Cross', cross_comp.get_display_language(), 'compiler:',
mlog.bold(' '.join(cross_comp.get_exelist())), version_string)
self.build.add_cross_compiler(cross_comp)
- if self.environment.is_cross_build() and not need_cross_compiler:
- self.build.add_cross_compiler(comp)
self.add_base_options(comp)
return success