Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9f53d9a

Browse files
committedOct 11, 2021
squash! deps: suppress zlib compiler warnings
Move cflags into conditions section and only enable for non-windows architectures.
1 parent 5a689b6 commit 9f53d9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎deps/zlib/zlib.gyp

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@
5151
'.',
5252
],
5353
},
54-
'cflags': [ '-Wno-implicit-fallthrough' ],
5554
'conditions': [
5655
['OS!="win"', {
5756
'cflags!': [ '-ansi' ],
57+
'cflags': [ '-Wno-implicit-fallthrough' ],
5858
'defines': [ 'HAVE_HIDDEN' ],
5959
}],
6060
['OS=="mac" or OS=="ios" or OS=="freebsd" or OS=="android"', {

0 commit comments

Comments
 (0)
Please sign in to comment.