summaryrefslogtreecommitdiff
path: root/common.gypi
diff options
context:
space:
mode:
authorDane Springmeyer <dane@mapbox.com>2014-05-23 16:51:37 -0700
committerDane Springmeyer <dane@mapbox.com>2014-05-23 16:51:37 -0700
commit105aa295f1fb7243bdd1c0aed4ee801953cf5066 (patch)
tree6cc6b1e49cfb0aa76dcb9fcbf7241a31ab4eb096 /common.gypi
parent2bfb4f6ed2bbf6be9abaca1836c267438a0053ee (diff)
downloadqtlocation-mapboxgl-105aa295f1fb7243bdd1c0aed4ee801953cf5066.tar.gz
gyp: better xcode parameter usage
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi10
1 files changed, 8 insertions, 2 deletions
diff --git a/common.gypi b/common.gypi
index b81a361f50..b1ad460153 100644
--- a/common.gypi
+++ b/common.gypi
@@ -12,14 +12,20 @@
'cflags': [ '-g', '-O0' ],
'defines': [ 'DEBUG' ],
'xcode_settings': {
- 'OTHER_CPLUSPLUSFLAGS': [ '-Wall', '-Wextra', '-pedantic', '-g', '-O0' ]
+ 'GCC_OPTIMIZATION_LEVEL': '0',
+ 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'YES',
+ 'OTHER_CPLUSPLUSFLAGS': [ '-Wall', '-Wextra', '-pedantic' ]
}
},
'Release': {
'cflags': [ '-O3' ],
'defines': [ 'NDEBUG' ],
'xcode_settings': {
- 'OTHER_CPLUSPLUSFLAGS': [ '-Wall', '-Wextra', '-pedantic', '-O3' ]
+ 'GCC_OPTIMIZATION_LEVEL': '3',
+ 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO',
+ 'DEAD_CODE_STRIPPING': 'YES',
+ 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES',
+ 'OTHER_CPLUSPLUSFLAGS': [ '-Wall', '-Wextra', '-pedantic' ]
}
}
}