summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-04-10 02:44:52 +0100
committerJosé Fonseca <[email protected]>2010-04-11 17:17:34 +0900
commit21780adc2ed1b10c5c4c71427b8212b8464d065d (patch)
tree55a5e6c716cc2696b19602d20d4edd66b7ad1815
parentea532f0e725bd68e7784189c9b7f6f7bf7f9d901 (diff)
scons: Make debug build default.
I've been back and forth on this, but I believe it's worth to have debug by default. Most humans (developers, testers) will want to use the debug version by default. Many build bots want release but they are bots, and humans > bots, so I don't care that much. This is part of my initiative of minimizing the scons option mess many complain about.
-rw-r--r--common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.py b/common.py
index 4b6960c66c8..8372176edd7 100644
--- a/common.py
+++ b/common.py
@@ -59,7 +59,7 @@ def AddOptions(opts):
from SCons.Variables.EnumVariable import EnumVariable as EnumOption
except ImportError:
from SCons.Options.EnumOption import EnumOption
- opts.Add(BoolOption('debug', 'debug build', 'no'))
+ opts.Add(BoolOption('debug', 'debug build', 'yes'))
opts.Add(BoolOption('profile', 'profile build', 'no'))
opts.Add(BoolOption('quiet', 'quiet command lines', 'yes'))
opts.Add(EnumOption('machine', 'use machine-specific assembly code', default_machine,