Skip to content

Commit

Permalink
Fix linux32 compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerwang committed May 14, 2024
1 parent 75b538d commit 578dc0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
4 changes: 2 additions & 2 deletions deps/zlib/zlib.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -209,14 +209,14 @@
],
}],
# Incorporate optimizations where possible.
['(target_arch in "ia32 x64" and OS!="ios") or arm_fpu=="neon"', {
['(target_arch in "x64" and OS!="ios") or arm_fpu=="neon"', {
'dependencies': [ 'zlib_inflate_chunk_simd' ],
'sources': [ '<(ZLIB_ROOT)/slide_hash_simd.h' ]
}, {
'defines': [ 'CPU_NO_SIMD' ],
'sources': [ '<(ZLIB_ROOT)/inflate.c' ],
}],
['target_arch in "ia32 x64" and OS!="ios"', {
['target_arch in "x64" and OS!="ios"', {
'dependencies': [
'zlib_adler32_simd',
# Disabled due to memory corruption.
Expand Down
7 changes: 0 additions & 7 deletions node.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -1583,13 +1583,6 @@
'defines': ['NODE_JS2C_USE_STRING_LITERALS'],
'ldflags': [ '-lstdc++' ],
}],
[ 'OS=="linux" and component != "shared_library"', {
'ldflags': [
'-Wl,--whole-archive',
'<(LIBCXX)',
'-Wl,--no-whole-archive'
]
}],
[ 'debug_node=="true"', {
'cflags!': [ '-O3' ],
'cflags': [ '-g', '-O0' ],
Expand Down

0 comments on commit 578dc0b

Please sign in to comment.