summaryrefslogtreecommitdiff
path: root/common.gypi
diff options
context:
space:
mode:
authorDane Springmeyer <dane@mapbox.com>2014-05-29 16:40:07 -0700
committerDane Springmeyer <dane@mapbox.com>2014-05-29 16:40:07 -0700
commitdeaa1f2824dda2e304225d803b02ec56b6b19f5a (patch)
treeb8d311a3e470795525e13b44bac2cd42d7e4e141 /common.gypi
parentbe01b4285404c47691576c93eebc4c6dc619c709 (diff)
downloadqtlocation-mapboxgl-deaa1f2824dda2e304225d803b02ec56b6b19f5a.tar.gz
[travis][build] run clang's address sanitizer + fixup cxxflags on linux
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi6
1 files changed, 3 insertions, 3 deletions
diff --git a/common.gypi b/common.gypi
index 8e6919a102..ba23470906 100644
--- a/common.gypi
+++ b/common.gypi
@@ -11,10 +11,10 @@
'GCC_WARN_PEDANTIC': 'YES',
'GCC_WARN_UNINITIALIZED_AUTOS': 'YES_AGGRESSIVE'
},
- 'cflags_cc': ['-std=c++11'],
+ 'cflags_cc': ['-std=c++11', '-Wall', '-Wextra'],
'configurations': {
'Debug': {
- 'cflags': [ '-g', '-O0' ],
+ 'cflags_cc': [ '-g', '-O1', '-fno-omit-frame-pointer','-fwrapv', '-fstack-protector-all', '-fno-common' ],
'defines': [ 'DEBUG' ],
'xcode_settings': {
'GCC_OPTIMIZATION_LEVEL': '1',
@@ -25,7 +25,7 @@
}
},
'Release': {
- 'cflags': [ '-O3' ],
+ 'cflags_cc': [ '-O3' ],
'defines': [ 'NDEBUG' ],
'xcode_settings': {
'GCC_OPTIMIZATION_LEVEL': '3',