summaryrefslogtreecommitdiffstats
path: root/build/debug.scons
diff options
context:
space:
mode:
Diffstat (limited to 'build/debug.scons')
-rw-r--r--build/debug.scons7
1 files changed, 6 insertions, 1 deletions
diff --git a/build/debug.scons b/build/debug.scons
index f056fcd..4cf6bf8 100644
--- a/build/debug.scons
+++ b/build/debug.scons
@@ -22,6 +22,12 @@ env.Append(
)
if env['PLATFORM'] == 'win32':
+ if env.get('INCREMENTAL') is None:
+ # INCREMENTAL was not specified on the command line or in the
+ # external environment; debug default is incremental link.
+ env['INCREMENTAL'] = True
+ env['CHROMIUM_INCREMENTAL_FLAGS'] = '/INCREMENTAL'
+
env.Append(
CCFLAGS = [
'/Od', # VCCLCompilerTool.Optimization="0"
@@ -29,7 +35,6 @@ if env['PLATFORM'] == 'win32':
'/MTd', # VCCLCompilerTool.RuntimeLibrary="1"
],
LINKFLAGS = [
- '/INCREMENTAL', # VCLinkerTool.LinkIncremental="2"
'/DEBUG',
],
)