diff options
Diffstat (limited to 'build/internal/release_impl_official.scons')
-rw-r--r-- | build/internal/release_impl_official.scons | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/build/internal/release_impl_official.scons b/build/internal/release_impl_official.scons index 982f0636..cb6921f 100644 --- a/build/internal/release_impl_official.scons +++ b/build/internal/release_impl_official.scons @@ -11,12 +11,16 @@ Import("env") env.ApplySConscript(['release_defaults.scons']) if env.Bit('windows'): + env.Replace( + CHROMIUM_CC_OPT_FLAGS = [ + '/Ox', # VCCLCompilerTool.Optimization="3" + ], + ), env.Append( ARFLAGS = [ '/ltcg', ], CCFLAGS = [ - '/Ox', # VCCLCompilerTool.Optimization="3" '/Ob2', # VCCLCompilerTool.InlineFunctionExpansion="2" '/Oi', # VCCLCompilerTool.EnableIntrinsicFunctions="true" '/Os', # VCCLCompilerTool.FavorSizeOrSpeed="2" |