Skip to content

Commit fc1fa7a

Browse files
RafaelGSSrichardlau
authored andcommitted
build: use FILE_OFFSET_BITS=64 esp. on 32-bit arch
Co-Authored-By: richardlau - Richard Lau <rlau@redhat.com> PR-URL: #58090 Refs: #57934 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
1 parent 5ca9616 commit fc1fa7a

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
@@ -268,6 +268,9 @@
268268
# Defines these mostly for node-gyp to pickup.
269269
'defines': [
270270
'_GLIBCXX_USE_CXX11_ABI=1',
271+
# This help forks when building Node.js on a 32-bit arch as
272+
# libuv is always compiled with _FILE_OFFSET_BITS=64
273+
'_FILE_OFFSET_BITS=64'
271274
],
272275

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

0 commit comments

Comments
 (0)