zlib: compile without -ansi
authorBen Noordhuis <info@bnoordhuis.nl>
Fri, 28 Oct 2011 15:27:47 +0000 (17:27 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Fri, 28 Oct 2011 15:31:40 +0000 (17:31 +0200)
Source contains C++ / C99 comments, gcc in strict mode doesn't like that.

deps/zlib/zlib.gyp

index 7d90d5c..25bcc74 100644 (file)
@@ -58,6 +58,7 @@
           'conditions': [
             ['OS!="win"', {
               'product_name': 'chrome_zlib',
+              'cflags!': [ '-ansi' ],
               'sources!': [
                 'contrib/minizip/iowin32.c'
               ],