waf: don't make --debug create a build varient

this behaviour is really quite annoying for developers
This commit is contained in:
Andrew Tridgell 2018-05-04 14:07:22 +10:00
parent 76cc014245
commit 9aa0ddfa54

View File

@ -144,8 +144,6 @@ def configure(cfg):
cfg.env.AUTOCONFIG = cfg.options.autoconfig
cfg.env.VARIANT = cfg.env.BOARD
if cfg.env.DEBUG:
cfg.env.VARIANT += '-debug'
_set_build_context_variant(cfg.env.VARIANT)
cfg.setenv(cfg.env.VARIANT)