mirror of https://github.com/nodejs/node.git
build: zlib build error on Windows on Arm
Zlib's SIMD optimizations are not supported in MSVC, so fall back to the C versions for now. PR-URL: https://github.com/nodejs/node/pull/33511 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Shelley Vohr <codebytere@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>pull/33523/merge
parent
54e5c36e73
commit
ce025d9233
|
@ -1642,7 +1642,13 @@
|
|||
'toolsets': ['host', 'target'],
|
||||
}],
|
||||
['OS=="win"', {
|
||||
'defines': ['X86_WINDOWS'],
|
||||
'conditions': [
|
||||
['"<(target_arch)"=="arm64" and _toolset=="target"', {
|
||||
'defines': ['CPU_NO_SIMD']
|
||||
}, {
|
||||
'defines': ['X86_WINDOWS']
|
||||
}]
|
||||
]
|
||||
}],
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
|
|
Loading…
Reference in New Issue