summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 6a67a24..84fd9a9 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -231,11 +231,14 @@
],
'configurations': {
'Debug': {
+ 'variables': {
+ 'debug_optimize%': '0',
+ },
'defines': [
'_DEBUG',
],
'cflags': [
- '-O0',
+ '-O<(debug_optimize)',
'-g',
],
},