ValaCompiler: only emit '--debug' in debug build.
This commit is contained in:
parent
2e41d53e4d
commit
c206f3cb1d
|
@ -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…
Reference in New Issue