summaryrefslogtreecommitdiff
path: root/gyp
diff options
context:
space:
mode:
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': {