summaryrefslogtreecommitdiff
path: root/autowaf.py
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-12-29 14:09:45 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-12-29 14:09:45 +0000
commit3367dc367199f40b030d262a7680c54d9e7b6769 (patch)
treecfc66d069dbc2a07e443156d33af02cab743faec /autowaf.py
parent3fab3ead7dc0ead67dd5c2b330d165bbcffdf799 (diff)
provide --optimize as a configure-time option to do the opposite of --debug, which is now on by default
git-svn-id: svn://localhost/ardour2/branches/3.0@8362 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'autowaf.py')
-rw-r--r--autowaf.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/autowaf.py b/autowaf.py
index 4e2afb2ece..54aa015a32 100644
--- a/autowaf.py
+++ b/autowaf.py
@@ -40,7 +40,9 @@ def set_options(opt):
opt.tool_options('compiler_cc')
opt.tool_options('compiler_cxx')
opt.add_option('--debug', action='store_true', default=True, dest='debug',
- help="Build debuggable binaries [Default: False]")
+ help="Build debuggable binaries [Default: True]")
+ opt.add_option('--optimize', action='store_false', default=False, dest='debug',
+ help="Build optimized binaries [Default: False]")
opt.add_option('--strict', action='store_true', default=False, dest='strict',
help="Use strict compiler flags and show all warnings [Default: False]")
opt.add_option('--docs', action='store_true', default=False, dest='docs',