aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2016-05-06 01:14:01 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2016-05-18 03:58:59 +0530
commit58386c4df38b72b0baf51fbe2e0aba3ed9c45e87 (patch)
tree917d2551c1c4a78d410da85d11c1b441170d27d4
parentc9f16a4ab1eba56f7cc3d5901e1fdbda95840a08 (diff)
downloadmeson-58386c4df38b72b0baf51fbe2e0aba3ed9c45e87.zip
meson-58386c4df38b72b0baf51fbe2e0aba3ed9c45e87.tar.gz
meson-58386c4df38b72b0baf51fbe2e0aba3ed9c45e87.tar.bz2
compilers: Remove spurious wait while running sanity check
Popen.communicate() already waits for the process to complete.
-rw-r--r--mesonbuild/compilers.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/mesonbuild/compilers.py b/mesonbuild/compilers.py
index 492b790..723d8fc 100644
--- a/mesonbuild/compilers.py
+++ b/mesonbuild/compilers.py
@@ -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: