Permalink
Browse files

zlib: compile without -ansi

Source contains C++ / C99 comments, gcc in strict mode doesn't like that.
  • Loading branch information...
1 parent cc2ac1c commit 3dee0e4cd8ecee01e48b6d4a1b6ee910bc67a2dd @bnoordhuis bnoordhuis committed Oct 28, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 deps/zlib/zlib.gyp
View
@@ -58,6 +58,7 @@
'conditions': [
['OS!="win"', {
'product_name': 'chrome_zlib',
+ 'cflags!': [ '-ansi' ],
'sources!': [
'contrib/minizip/iowin32.c'
],

0 comments on commit 3dee0e4

Please sign in to comment.