aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-12-25 19:48:28 +0000
committerlloyd <[email protected]>2013-12-25 19:48:28 +0000
commit4d2242a5e920ba14e37c69a8962b34d08cd485f6 (patch)
tree8cf3ed1bf57a604879615148a1d359b821e9f9f7
parent4df481d89ddbfe7bc4b29875762ec200e6986dfd (diff)
Turn on debug by default on non-release builds
-rwxr-xr-xconfigure.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index dd9727fff..78899539e 100755
--- a/configure.py
+++ b/configure.py
@@ -273,7 +273,7 @@ def process_command_line(args):
help='disallow use of assembler')
build_group.add_option('--enable-debug', dest='debug_build',
- action='store_true', default=False,
+ action='store_true', default=not is_official_release(),
help='enable debug build')
build_group.add_option('--disable-debug', dest='debug_build',
action='store_false', help=optparse.SUPPRESS_HELP)