diff options
Diffstat (limited to 'gyp/common_conditions.gypi')
-rw-r--r-- | gyp/common_conditions.gypi | 7 |
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': [ |