zlib: compile without -ansi

Source contains C++ / C99 comments, gcc in strict mode doesn't like that.
pull/22966/head
Ben Noordhuis 2011-10-28 17:27:47 +02:00
parent cc2ac1ccc7
commit 3dee0e4cd8
1 changed files with 1 additions and 0 deletions

1
deps/zlib/zlib.gyp vendored
View File

@ -58,6 +58,7 @@
'conditions': [
['OS!="win"', {
'product_name': 'chrome_zlib',
'cflags!': [ '-ansi' ],
'sources!': [
'contrib/minizip/iowin32.c'
],