From dde05328a972ea676f21c9095cbf0e81626c3374 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 6 Nov 2011 04:05:57 +0000 Subject: Build debuggable build by default. git-svn-id: svn://localhost/ardour2/branches/3.0@10466 d708f5d6-7413-0410-9779-e7cbd77b26cf --- wscript | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index b17bfdc2c2..97d33dd103 100644 --- a/wscript +++ b/wscript @@ -352,7 +352,7 @@ def set_compiler_flags (conf,opt): def options(opt): opt.load('compiler_c') opt.load('compiler_cxx') - autowaf.set_options(opt) + autowaf.set_options(opt, debug_by_default=True) opt.add_option('--program-name', type='string', action='store', default='Ardour', dest='program_name', help='The user-visible name of the program being built') opt.add_option('--arch', type='string', action='store', dest='arch', @@ -379,7 +379,6 @@ def options(opt): opt.add_option('--nls', action='store_true', default=True, dest='nls', help='Enable i18n (native language support) (default)') opt.add_option('--no-nls', action='store_false', dest='nls') - opt.add_option('--optimize', action='store_false', dest='debug') opt.add_option('--phone-home', action='store_false', default=False, dest='phone_home') opt.add_option('--stl-debug', action='store_true', default=False, dest='stl_debug', help='Build with debugging for the STL') -- cgit v1.2.3