summaryrefslogtreecommitdiffstats
path: root/third_party/libxml/libxml.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libxml/libxml.gyp')
-rw-r--r--third_party/libxml/libxml.gyp14
1 files changed, 14 insertions, 0 deletions
diff --git a/third_party/libxml/libxml.gyp b/third_party/libxml/libxml.gyp
index 56ba94f..27b8b14 100644
--- a/third_party/libxml/libxml.gyp
+++ b/third_party/libxml/libxml.gyp
@@ -192,6 +192,20 @@
}, { # else: OS!="win"
'product_name': 'xml2',
}],
+ ['clang == 1', {
+ 'xcode_settings': {
+ 'WARNING_CFLAGS': [
+ # libxml passes `const unsigned char*` through `const char*`.
+ '-Wno-pointer-sign',
+ # libxml converts xmlSchemaValType to xmlSchemaTypeType.
+ '-Wno-conversion',
+ ],
+ },
+ 'cflags': [
+ '-Wno-pointer-sign',
+ '-Wno-conversion',
+ ],
+ }],
],
}],
],