summaryrefslogtreecommitdiff
path: root/gyp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-01-23 18:52:29 +0100
committerKonstantin Käfer <mail@kkaefer.com>2015-02-04 10:49:07 +0100
commit704b3719f5acfe2291c5976bf8c0935bb9523f5a (patch)
tree3cab33639d9edcc3df676e68e6acd7027d78e6a6 /gyp
parenta67219ab8bf9e03b3365cd8612f5c40a64392e40 (diff)
downloadqtlocation-mapboxgl-704b3719f5acfe2291c5976bf8c0935bb9523f5a.tar.gz
use standard DEBUG macro rather than NDEBUG
Diffstat (limited to 'gyp')
-rw-r--r--gyp/common.gypi17
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' ],