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
This commit is contained in:
parent
3fab3ead7d
commit
3367dc3671
@ -40,7 +40,9 @@ def set_options(opt):
|
|||||||
opt.tool_options('compiler_cc')
|
opt.tool_options('compiler_cc')
|
||||||
opt.tool_options('compiler_cxx')
|
opt.tool_options('compiler_cxx')
|
||||||
opt.add_option('--debug', action='store_true', default=True, dest='debug',
|
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',
|
opt.add_option('--strict', action='store_true', default=False, dest='strict',
|
||||||
help="Use strict compiler flags and show all warnings [Default: False]")
|
help="Use strict compiler flags and show all warnings [Default: False]")
|
||||||
opt.add_option('--docs', action='store_true', default=False, dest='docs',
|
opt.add_option('--docs', action='store_true', default=False, dest='docs',
|
||||||
|
Loading…
Reference in New Issue
Block a user