Build debuggable build by default.
authorDavid Robillard <d@drobilla.net>
Sun, 6 Nov 2011 04:05:57 +0000 (04:05 +0000)
committerDavid Robillard <d@drobilla.net>
Sun, 6 Nov 2011 04:05:57 +0000 (04:05 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@10466 d708f5d6-7413-0410-9779-e7cbd77b26cf

waf
wscript

diff --git a/waf b/waf
index ce7892affe6597a7d66bfde45b50a453c6ea7c61..d3936651b7692b7ea3c9e1b9397fb99ec9d41439 100755 (executable)
Binary files a/waf and b/waf differ
diff --git a/wscript b/wscript
index b17bfdc2c2c280a0748a266df0ed38a02c965a50..97d33dd103a7b3638b188fd6f5fdf95f2fe2d00f 100644 (file)
--- 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')