aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
Diffstat (limited to 'configure.py')
-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)