Skip to content

Commit

Permalink
squash! deps: suppress zlib compiler warnings
Browse files Browse the repository at this point in the history
Move cflags into conditions section and only enable for non-windows
architectures.
  • Loading branch information
danbev committed Oct 11, 2021
1 parent 5a689b6 commit 9f53d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/zlib/zlib.gyp
Expand Up @@ -51,10 +51,10 @@
'.',
],
},
'cflags': [ '-Wno-implicit-fallthrough' ],
'conditions': [
['OS!="win"', {
'cflags!': [ '-ansi' ],
'cflags': [ '-Wno-implicit-fallthrough' ],
'defines': [ 'HAVE_HIDDEN' ],
}],
['OS=="mac" or OS=="ios" or OS=="freebsd" or OS=="android"', {
Expand Down

0 comments on commit 9f53d9a

Please sign in to comment.