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

This commit is contained in:
Jeremy Philippe 2019-07-19 21:38:23 +02:00 committed by Nirbheek Chauhan
parent 2e41d53e4d
commit c206f3cb1d
1 changed files with 1 additions and 1 deletions

View File

@ -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.