aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/vala.py
diff options
context:
space:
mode:
authorJeremy Philippe <jeremy.philippe@gmail.com>2019-07-19 21:38:23 +0200
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2019-07-20 05:48:53 +0000
commitc206f3cb1d3601e1843e3bfd6f194dd585bbc13f (patch)
treea8c158d606af7a3868edb7875d659ee7836f5c35 /mesonbuild/compilers/vala.py
parent2e41d53e4d64985d58f06235604feafa7dad5059 (diff)
downloadmeson-c206f3cb1d3601e1843e3bfd6f194dd585bbc13f.zip
meson-c206f3cb1d3601e1843e3bfd6f194dd585bbc13f.tar.gz
meson-c206f3cb1d3601e1843e3bfd6f194dd585bbc13f.tar.bz2
ValaCompiler: only emit '--debug' in debug build.
Diffstat (limited to 'mesonbuild/compilers/vala.py')
-rw-r--r--mesonbuild/compilers/vala.py2
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.