diff options
author | Jeremy Philippe <jeremy.philippe@gmail.com> | 2019-07-19 21:38:23 +0200 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2019-07-20 05:48:53 +0000 |
commit | c206f3cb1d3601e1843e3bfd6f194dd585bbc13f (patch) | |
tree | a8c158d606af7a3868edb7875d659ee7836f5c35 /mesonbuild | |
parent | 2e41d53e4d64985d58f06235604feafa7dad5059 (diff) | |
download | meson-c206f3cb1d3601e1843e3bfd6f194dd585bbc13f.zip meson-c206f3cb1d3601e1843e3bfd6f194dd585bbc13f.tar.gz meson-c206f3cb1d3601e1843e3bfd6f194dd585bbc13f.tar.bz2 |
ValaCompiler: only emit '--debug' in debug build.
Diffstat (limited to 'mesonbuild')
-rw-r--r-- | mesonbuild/compilers/vala.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/vala.py b/mesonbuild/compilers/vala.py index 0a612ae..d8734fc 100644 --- a/mesonbuild/compilers/vala.py +++ b/mesonbuild/compilers/vala.py @@ -38,7 +38,7 @@ class ValaCompiler(Compiler): return [] def get_debug_args(self, is_debug): - return ['--debug'] + return ['--debug'] if is_debug else [] def get_output_args(self, target): return [] # Because compiles into C. |