Skip to content

Commit feda3b9

Browse files
committed
build: use FILE_OFFSET_BITS=64 esp. on 32-bit arch
nodejs/node#58090
1 parent 50c6902 commit feda3b9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

patches/node/build_ensure_native_module_compilation_fails_if_not_using_a_new.patch

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ index d9c0b721fe0a629a30efb3c4e04905176ca0a7f5..f3476a91e4c3cda7cecf49e07bb594a1
1919
##### end V8 defaults #####
2020

2121
# When building native modules using 'npm install' with the system npm,
22-
@@ -293,6 +295,7 @@
23-
# Defines these mostly for node-gyp to pickup.
24-
'defines': [
22+
@@ -297,7 +297,8 @@
2523
'_GLIBCXX_USE_CXX11_ABI=1',
24+
# This help forks when building Node.js on a 32-bit arch as
25+
# libuv is always compiled with _FILE_OFFSET_BITS=64
26+
- '_FILE_OFFSET_BITS=64'
27+
+ '_FILE_OFFSET_BITS=64',
2628
+ 'ELECTRON_ENSURE_CONFIG_GYPI',
2729
],
2830

0 commit comments

Comments
 (0)