Skip to content

Commit e0bd371

Browse files
committed
build: enable clang flags on Windows too
1 parent 315fed5 commit e0bd371

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

deps/zlib/zlib.gyp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@
2828
'xcode_settings': {
2929
'OTHER_CFLAGS': [ '-mssse3' ],
3030
},
31+
'msvs_settings': {
32+
'VCCLCompilerTool': {
33+
'AdditionalOptions': [ '-mssse3' ],
34+
},
35+
},
3136
}],
3237
],
3338
}],

tools/v8_gypfiles/toolchain.gypi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,11 @@
160160
# -Wno-invalid-offsetof
161161
'GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO': 'NO',
162162
},
163+
'msvs_settings': {
164+
'VCCLCompilerTool': {
165+
'AdditionalOptions': ['-Wno-invalid-offsetof'],
166+
},
167+
},
163168
}],
164169
['v8_target_arch=="arm"', {
165170
'defines': [

0 commit comments

Comments
 (0)