Remove spurious case in interpreter

`need_cross_compiler = is_cross_build()`, so the condition is always
false.
pull/4765/head
John Ericson 6 years ago committed by Jussi Pakkanen
parent 13fe2e40eb
commit 17a602a4ec
  1. 2
      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

Loading…
Cancel
Save