Add Signal5.
[ardour.git] / autowaf.py
index 01482312e7a1f21c51595e187150ec265985a847..c9ac680c7b4c573c41c82705c93612c4cfbd5e81 100644 (file)
@@ -41,7 +41,7 @@ def set_options(opt):
        opt.tool_options('compiler_cxx')
        opt.add_option('--debug', action='store_true', default=True, dest='debug',
                        help="Build debuggable binaries [Default: True]")
-       opt.add_option('--optimize', action='store_false', default=False, dest='debug',
+       opt.add_option('--optimize', action='store_false', default=True, 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]")
@@ -441,7 +441,7 @@ def shutdown():
                except: pass
 
 def build_i18n(bld,srcdir,dir,name,sources):
-       pwd = bld.get_curdir()
+       pwd = os.getcwd()
        os.chdir(os.path.join (srcdir, dir))
 
        pot_file = '%s.pot' % name