X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=autowaf.py;h=f98cad1adaaf0165861410052bbfca4b16901549;hb=7a5b6a5031d4c573c90d2455276aa174a665239b;hp=54aa015a321e8da7a119458d887e6c8a165662c6;hpb=3367dc367199f40b030d262a7680c54d9e7b6769;p=ardour.git diff --git a/autowaf.py b/autowaf.py index 54aa015a32..f98cad1ada 100644 --- a/autowaf.py +++ b/autowaf.py @@ -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]") @@ -471,6 +471,7 @@ def build_i18n(bld,srcdir,dir,name,sources): mo_file = po_file.replace ('.po', '.mo') args = [ 'msgfmt', '-c', + '-f', '-o', mo_file, po_file ]