Index: build/internal/release_impl_checksenabled.scons |
=================================================================== |
--- build/internal/release_impl_checksenabled.scons (revision 6147) |
+++ build/internal/release_impl_checksenabled.scons (working copy) |
@@ -19,6 +19,13 @@ |
) |
if env.Bit('windows'): |
+ env.Replace( |
+ CHROMIUM_LINK_OPT_FLAGS = [ |
+ '/OPT:REF', # VCLinkerTool.OptimizeReferences="2" |
+ '/OPT:NOICF', # VCLinkerTool.EnableCOMDATFolding="2" |
+ '/OPT:NOWIN98', # VCLinkerTool.OptimizeForWindows98="1" |
+ ], |
+ ), |
env.Append( |
CCFLAGS = [ |
'/Oy-', |
@@ -26,8 +33,5 @@ |
], |
LINKFLAGS = [ |
'/INCREMENTAL:NO', # VCLinkerTool.LinkIncremental="1" |
- '/OPT:REF', # VCLinkerTool.OptimizeReferences="2" |
- '/OPT:ICF', # VCLinkerTool.EnableCOMDATFolding="2" |
- '/OPT:NOWIN98', # VCLinkerTool.OptimizeForWindows98="1" |
], |
) |