summaryrefslogtreecommitdiff
path: root/third_party/third_party.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/third_party.gyp')
-rw-r--r--third_party/third_party.gyp8
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/third_party.gyp b/third_party/third_party.gyp
index 97deacf49c..0208fa14e3 100644
--- a/third_party/third_party.gyp
+++ b/third_party/third_party.gyp
@@ -230,6 +230,9 @@
'libjpeg/jversion.h',
'libjpeg/transupp.h',
],
+ 'cflags': [
+ '-Wno-shift-negative-value',
+ ],
'conditions': [
['os_posix==1', {
'cflags': [
@@ -313,6 +316,11 @@
'zlib_v128/uncompr.c',
'zlib_v128/zutil.c',
],
+ 'cflags': [
+ # TODO(dsinclair): Remove if fixed upstream. https://crbug.com/507712
+ '-Wno-shift-negative-value',
+ ],
+
},
{
'target_name': 'pdfium_base',