compilers: Remove spurious wait while running sanity check

Popen.communicate() already waits for the process to complete.
pull/540/head
Nirbheek Chauhan 9 years ago
parent c9f16a4ab1
commit 58386c4df3
  1. 1
      mesonbuild/compilers.py

@ -830,7 +830,6 @@ class CPPCompiler(CCompiler):
mlog.debug('-----\nSanity check compile stderr:') mlog.debug('-----\nSanity check compile stderr:')
mlog.debug(stde) mlog.debug(stde)
mlog.debug('-----') mlog.debug('-----')
pc.wait()
if pc.returncode != 0: if pc.returncode != 0:
raise EnvironmentException('Compiler %s can not compile programs.' % self.name_string()) raise EnvironmentException('Compiler %s can not compile programs.' % self.name_string())
if self.is_cross: if self.is_cross:

Loading…
Cancel
Save