diff options
Diffstat (limited to 'third_party/zlib/zlib.scons')
-rw-r--r-- | third_party/zlib/zlib.scons | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/zlib/zlib.scons b/third_party/zlib/zlib.scons index 30de7fb..c62aeb4 100644 --- a/third_party/zlib/zlib.scons +++ b/third_party/zlib/zlib.scons @@ -63,6 +63,14 @@ if env.Bit('windows'): 'contrib/minizip/iowin32.h', ]) +if env.Bit('posix'): + env.Append( + CCFLAGS = [ + '-Wno-parentheses', + '-Wno-unused-variable', + ], + ) + env.ChromeLibrary('zlib', input_files) p = env.ChromeMSVSProject('zlib.vcproj', |