aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/environment.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-04-03 16:44:18 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2016-04-03 16:44:18 +0300
commit6291fb4056de513a64ad52b65e9f4166323d35f3 (patch)
tree3e1328a1eb3045e1097db2818a6701c85ddcd4ae /mesonbuild/environment.py
parent3415c3a693d663de40a76b8ee962ab145d60498a (diff)
downloadmeson-6291fb4056de513a64ad52b65e9f4166323d35f3.zip
meson-6291fb4056de513a64ad52b65e9f4166323d35f3.tar.gz
meson-6291fb4056de513a64ad52b65e9f4166323d35f3.tar.bz2
Put buildtype flags to vala compiles.
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r--mesonbuild/environment.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index e8fabc3..6d217f2 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
@@ -251,11 +251,11 @@ class Environment():
for compiler in compilers:
for arg in ['--version', '-V']:
try:
- p = subprocess.Popen([compiler] + [arg],
- stdout=subprocess.PIPE,
- stderr=subprocess.PIPE)
+ p = subprocess.Popen([compiler] + [arg],
+ stdout=subprocess.PIPE,
+ stderr=subprocess.PIPE)
except OSError:
- continue
+ continue
(out, err) = p.communicate()
out = out.decode(errors='ignore')
err = err.decode(errors='ignore')