summaryrefslogtreecommitdiffstats
path: root/build/internal/release_impl_dom_stats.scons
diff options
context:
space:
mode:
Diffstat (limited to 'build/internal/release_impl_dom_stats.scons')
-rw-r--r--build/internal/release_impl_dom_stats.scons10
1 files changed, 7 insertions, 3 deletions
diff --git a/build/internal/release_impl_dom_stats.scons b/build/internal/release_impl_dom_stats.scons
index 492e56f..d878592 100644
--- a/build/internal/release_impl_dom_stats.scons
+++ b/build/internal/release_impl_dom_stats.scons
@@ -18,14 +18,18 @@ env.Append(
)
if env['PLATFORM'] == 'win32':
+ 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-',
]
LINKFLAGS = [
'/INCREMENTAL:NO', # VCLinkerTool.LinkIncremental="1"
- '/OPT:REF', # VCLinkerTool.OptimizeReferences="2"
- '/OPT:ICF', # VCLinkerTool.EnableCOMDATFolding="2"
- '/OPT:NOWIN98', # VCLinkerTool.OptimizeForWindows98="1"
],
)