Index: gyp/libjpeg.gyp |
diff --git a/gyp/libjpeg.gyp b/gyp/libjpeg.gyp |
index 88ba2984754fb6ad88326c7ba4e9012878acb31c..b10ee8c6e42744c0131535615a2ae44cca97c88c 100644 |
--- a/gyp/libjpeg.gyp |
+++ b/gyp/libjpeg.gyp |
@@ -101,14 +101,10 @@ |
'../third_party/externals/libjpeg', |
], |
}, |
- 'conditions': [ |
- [ 'skia_os != "win"', { |
- 'product_name': 'jpeg', |
- 'cflags': [ |
- '-Wno-main', # supresses warnings about naming things "main" |
- ], |
- }], |
+ 'cflags': [ |
+ '-w', # supresses warnings |
], |
+ |
}, |
], |
}, { |