summaryrefslogtreecommitdiff
path: root/gyp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-10-28 13:45:26 -0700
committerKonstantin Käfer <mail@kkaefer.com>2014-10-28 13:45:26 -0700
commit3a5b5e68e922582111ce1f67cc9722214e4546ad (patch)
treec2d4bf3b193f3a49e6c3e13345dee7653bac7315 /gyp
parentdbddd3c904d34eecdda4bb7d1d0dc30c4ea7e13b (diff)
downloadqtlocation-mapboxgl-3a5b5e68e922582111ce1f67cc9722214e4546ad.tar.gz
also add cflags
Diffstat (limited to 'gyp')
-rw-r--r--gyp/mbgl-linux.gypi6
1 files changed, 6 insertions, 0 deletions
diff --git a/gyp/mbgl-linux.gypi b/gyp/mbgl-linux.gypi
index a09f3d963e..ea0ce3ee99 100644
--- a/gyp/mbgl-linux.gypi
+++ b/gyp/mbgl-linux.gypi
@@ -9,6 +9,9 @@
'<@(uv_cflags)',
'<@(curl_cflags)',
],
+ 'cflags': [
+ '<@(uv_cflags)',
+ ],
'ldflags': [
'<@(uv_ldflags)',
'<@(curl_ldflags)',
@@ -31,9 +34,12 @@
['OS == "mac"', {
'xcode_settings': {
'OTHER_CPLUSPLUSFLAGS': [ '<@(cflags_cc)' ],
+ 'OTHER_CFLAGS': [ '<@(cflags)' ],
}
}, {
'ldflags': [ '<@(ldflags)' ],
+ 'cflags_cc': [ '<@(cflags_cc)' ],
+ 'cflags': [ '<@(cflags)' ],
}]
],
'direct_dependent_settings': {