aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/common_conditions.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'gyp/common_conditions.gypi')
-rw-r--r--gyp/common_conditions.gypi7
1 files changed, 5 insertions, 2 deletions
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi
index e18cbc1f43..99cabc9b16 100644
--- a/gyp/common_conditions.gypi
+++ b/gyp/common_conditions.gypi
@@ -84,7 +84,8 @@
'cflags': ['-g']
},
'Release': {
- 'cflags': ['-O2']
+ 'cflags': ['-O2'],
+ 'defines': [ 'NDEBUG' ],
},
},
'cflags': [
@@ -119,6 +120,7 @@
'xcode_settings': {
'GCC_OPTIMIZATION_LEVEL': '3',
},
+ 'defines': [ 'NDEBUG' ],
},
},
'xcode_settings': {
@@ -161,7 +163,8 @@
'cflags': ['-g']
},
'Release': {
- 'cflags': ['-O2']
+ 'cflags': ['-O2'],
+ 'defines': [ 'NDEBUG' ],
},
},
'libraries': [