compilers: Remove spurious wait while running sanity check

Popen.communicate() already waits for the process to complete.
This commit is contained in:
Nirbheek Chauhan 2016-05-06 01:14:01 +05:30
parent c9f16a4ab1
commit 58386c4df3
1 changed files with 0 additions and 1 deletions

View File

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