diff --git a/wscript b/wscript index 2e7594c4..203eab8c 100644 --- a/wscript +++ b/wscript @@ -81,6 +81,9 @@ def configure(conf): conf.check_tool('compiler_cxx') conf.check_tool('compiler_cc') + conf.env.append_unique('CXXFLAGS', '-O3 -Wall') + conf.env.append_unique('CCFLAGS', '-O3 -Wall') + conf.sub_config('common') if conf.env['IS_LINUX']: conf.sub_config('linux')