waf: don't make --debug create a build varient
this behaviour is really quite annoying for developers
This commit is contained in:
parent
76cc014245
commit
9aa0ddfa54
2
wscript
2
wscript
@ -144,8 +144,6 @@ def configure(cfg):
|
|||||||
cfg.env.AUTOCONFIG = cfg.options.autoconfig
|
cfg.env.AUTOCONFIG = cfg.options.autoconfig
|
||||||
|
|
||||||
cfg.env.VARIANT = cfg.env.BOARD
|
cfg.env.VARIANT = cfg.env.BOARD
|
||||||
if cfg.env.DEBUG:
|
|
||||||
cfg.env.VARIANT += '-debug'
|
|
||||||
|
|
||||||
_set_build_context_variant(cfg.env.VARIANT)
|
_set_build_context_variant(cfg.env.VARIANT)
|
||||||
cfg.setenv(cfg.env.VARIANT)
|
cfg.setenv(cfg.env.VARIANT)
|
||||||
|
Loading…
Reference in New Issue
Block a user