mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
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>
This commit is contained in:
committed by
Ruben Bridgewater
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': {
|
||||
|
||||
Reference in New Issue
Block a user