summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/common.gypi8
1 files changed, 5 insertions, 3 deletions
diff --git a/build/common.gypi b/build/common.gypi
index fcb61db..6a95c4f 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -437,7 +437,7 @@
}],
['fastbuild!=0', {
'conditions': [
- # Finally, for Windows, we simply turn on profiling.
+ # For Windows, we don't genererate debug information.
['OS=="win"', {
'msvs_settings': {
'VCLinkerTool': {
@@ -447,8 +447,10 @@
'DebugInformationFormat': '0',
}
}
- }, { # else: OS != "win"
- 'cflags': [ '-g1' ],
+ }, { # else: OS != "win", generate less debug information.
+ 'variables': {
+ 'debug_extra_cflags': '-g1',
+ },
}],
], # conditions for fastbuild.
}], # fastbuild!=0