ValaCompiler: only emit '--debug' in debug build.

pull/5691/head
Jeremy Philippe 6 years ago committed by Nirbheek Chauhan
parent 2e41d53e4d
commit c206f3cb1d
  1. 2
      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.

Loading…
Cancel
Save