diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-01-23 18:52:29 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-02-04 10:49:07 +0100 |
commit | 704b3719f5acfe2291c5976bf8c0935bb9523f5a (patch) | |
tree | 3cab33639d9edcc3df676e68e6acd7027d78e6a6 /gyp/common.gypi | |
parent | a67219ab8bf9e03b3365cd8612f5c40a64392e40 (diff) | |
download | qtlocation-mapboxgl-704b3719f5acfe2291c5976bf8c0935bb9523f5a.tar.gz |
use standard DEBUG macro rather than NDEBUG
Diffstat (limited to 'gyp/common.gypi')
-rw-r--r-- | gyp/common.gypi | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/gyp/common.gypi b/gyp/common.gypi index 67a8dcd9d7..f16bfb27d5 100644 --- a/gyp/common.gypi +++ b/gyp/common.gypi @@ -29,9 +29,23 @@ 'GCC_WARN_PEDANTIC': 'YES', 'GCC_WARN_UNINITIALIZED_AUTOS': 'YES_AGGRESSIVE', }, + }, { + 'cflags_cc': [ + '-std=c++11', + '-Werror', + '-Wall', + '-Wextra', + '-Wshadow', + '-Wno-variadic-macros', + '-Wno-error=unused-parameter', + '-Wno-unknown-warning-option', + '-frtti', + '-fexceptions', + ], }], ['OS=="linux"', { - 'cflags_cc': ['-Wno-unknown-pragmas', # We are using '#pragma mark', but it is only available on Darwin. + 'cflags_cc': [ + '-Wno-unknown-pragmas', # We are using '#pragma mark', but it is only available on Darwin. ], }], ], @@ -66,7 +80,6 @@ ], }], ], - 'cflags_cc': [ '-std=c++11', '-Werror', '-Wall', '-Wextra', '-Wshadow', '-frtti', '-fexceptions' ], 'configurations': { 'Debug': { 'cflags_cc': [ '-g', '-O0', '-fno-omit-frame-pointer','-fwrapv', '-fstack-protector-all', '-fno-common' ], |