From 3367dc367199f40b030d262a7680c54d9e7b6769 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 29 Dec 2010 14:09:45 +0000 Subject: [PATCH] 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 --- autowaf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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',