summaryrefslogtreecommitdiffstats
path: root/build/internal/release_defaults.scons
diff options
context:
space:
mode:
Diffstat (limited to 'build/internal/release_defaults.scons')
-rw-r--r--build/internal/release_defaults.scons6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/internal/release_defaults.scons b/build/internal/release_defaults.scons
index 612bcbc..5d36cf1 100644
--- a/build/internal/release_defaults.scons
+++ b/build/internal/release_defaults.scons
@@ -21,6 +21,12 @@ env.Append(
)
if env.Bit('windows'):
+ if env.get('INCREMENTAL') is None:
+ # INCREMENTAL was not specified on the command line or in the
+ # external environment; release default is full link.
+ env['INCREMENTAL'] = False
+ env['CHROMIUM_INCREMENTAL_FLAGS'] = '/INCREMENTAL:NO'
+
env.Replace(
CHROMIUM_CC_OPT_FLAGS = [
'/O2', # VCCLCompilerTool.Optimization="2"