From 3dee0e4cd8ecee01e48b6d4a1b6ee910bc67a2dd Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Fri, 28 Oct 2011 17:27:47 +0200 Subject: [PATCH] zlib: compile without -ansi Source contains C++ / C99 comments, gcc in strict mode doesn't like that. --- deps/zlib/zlib.gyp | 1 + 1 file changed, 1 insertion(+) diff --git a/deps/zlib/zlib.gyp b/deps/zlib/zlib.gyp index 7d90d5c9fde..25bcc74a035 100644 --- a/deps/zlib/zlib.gyp +++ b/deps/zlib/zlib.gyp @@ -58,6 +58,7 @@ 'conditions': [ ['OS!="win"', { 'product_name': 'chrome_zlib', + 'cflags!': [ '-ansi' ], 'sources!': [ 'contrib/minizip/iowin32.c' ],