diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2016-04-03 16:44:18 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-04-03 16:44:18 +0300 |
commit | 6291fb4056de513a64ad52b65e9f4166323d35f3 (patch) | |
tree | 3e1328a1eb3045e1097db2818a6701c85ddcd4ae /mesonbuild/environment.py | |
parent | 3415c3a693d663de40a76b8ee962ab145d60498a (diff) | |
download | meson-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.py | 8 |
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') |