only debug if __debug is setup
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
ae7887f775
commit
b52939ccfe
2 changed files with 9 additions and 6 deletions
|
|
@ -150,7 +150,8 @@ class Config:
|
|||
env['__global'] = self.path.out_dir
|
||||
|
||||
# Submit debug flag to manifest, can be used by emulator and types
|
||||
env['__debug'] = "yes"
|
||||
if self.debug:
|
||||
env['__debug'] = "yes"
|
||||
|
||||
# Required for recording source
|
||||
env['__cdist_manifest'] = manifest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue