summaryrefslogtreecommitdiff
path: root/gyp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-01-22 12:24:10 +0100
committerKonstantin Käfer <mail@kkaefer.com>2015-02-04 10:49:06 +0100
commit4cbe665f7da13de5a7ea59c7a6736bbd10cb199b (patch)
tree971f6bb270278d7f521b82e007eb6605cf1afcaf /gyp
parentaa09aa321b24981bf0f8f2dec97ac100727266a5 (diff)
downloadqtlocation-mapboxgl-4cbe665f7da13de5a7ea59c7a6736bbd10cb199b.tar.gz
add symbols to Release builds for easier debugging
Diffstat (limited to 'gyp')
-rw-r--r--gyp/common.gypi4
1 files changed, 2 insertions, 2 deletions
diff --git a/gyp/common.gypi b/gyp/common.gypi
index 92cfb2ab18..a569669c4e 100644
--- a/gyp/common.gypi
+++ b/gyp/common.gypi
@@ -59,11 +59,11 @@
}
},
'Release': {
- 'cflags_cc': [ '-O3' ],
+ 'cflags_cc': [ '-g', '-O3' ],
'defines': [ 'NDEBUG' ],
'xcode_settings': {
'GCC_OPTIMIZATION_LEVEL': '3',
- 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO',
+ 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'YES',
'DEAD_CODE_STRIPPING': 'YES',
'GCC_INLINES_ARE_PRIVATE_EXTERN': 'NO'
}