diff options
author | Dane Springmeyer <dane@mapbox.com> | 2014-05-29 16:40:07 -0700 |
---|---|---|
committer | Dane Springmeyer <dane@mapbox.com> | 2014-05-29 16:40:07 -0700 |
commit | deaa1f2824dda2e304225d803b02ec56b6b19f5a (patch) | |
tree | b8d311a3e470795525e13b44bac2cd42d7e4e141 /common.gypi | |
parent | be01b4285404c47691576c93eebc4c6dc619c709 (diff) | |
download | qtlocation-mapboxgl-deaa1f2824dda2e304225d803b02ec56b6b19f5a.tar.gz |
[travis][build] run clang's address sanitizer + fixup cxxflags on linux
Diffstat (limited to 'common.gypi')
-rw-r--r-- | common.gypi | 6 |
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', |