Skip to content

Commit 2e54653

Browse files
RafaelGSSrichardlau
authored andcommitted
build: use FILE_OFFSET_BITS=64 esp. on 32-bit arch
Co-Authored-By: richardlau - Richard Lau <[email protected]> PR-URL: #58090 Refs: #57934 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
1 parent b33e8d2 commit 2e54653

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

common.gypi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,9 @@
276276
# Defines these mostly for node-gyp to pickup.
277277
'defines': [
278278
'_GLIBCXX_USE_CXX11_ABI=1',
279+
# This help forks when building Node.js on a 32-bit arch as
280+
# libuv is always compiled with _FILE_OFFSET_BITS=64
281+
'_FILE_OFFSET_BITS=64'
279282
],
280283

281284
# Forcibly disable -Werror. We support a wide range of compilers, it's

0 commit comments

Comments
 (0)