diff options
| author | emmett1 <emmett1.2iligrams@protonmail.com> | 2025-04-18 03:58:09 +0200 |
|---|---|---|
| committer | emmett1 <emmett1.2iligrams@protonmail.com> | 2025-04-18 03:58:09 +0200 |
| commit | 8af1f4b83b8e1e6ce1199c43f90ce112841d3b8c (patch) | |
| tree | 48fb953737ea6f733e0aafddd1cc862e7aacc184 /repos/extra/nodejs/atomic.patch | |
| parent | f5bd6a733b1574d6effdf07fd85cab7ec1d846ce (diff) | |
| download | alicelinux-8af1f4b83b8e1e6ce1199c43f90ce112841d3b8c.tar.gz alicelinux-8af1f4b83b8e1e6ce1199c43f90ce112841d3b8c.zip | |
nodejs: updated to 23.11.0 (drop libatomic from dependency)
Diffstat (limited to 'repos/extra/nodejs/atomic.patch')
| -rw-r--r-- | repos/extra/nodejs/atomic.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/repos/extra/nodejs/atomic.patch b/repos/extra/nodejs/atomic.patch new file mode 100644 index 00000000..254ca7d3 --- /dev/null +++ b/repos/extra/nodejs/atomic.patch @@ -0,0 +1,28 @@ +--- a/node.gyp ++++ b/node.gyp +@@ -510,9 +510,6 @@ + '-Wl,-bnoerrmsg', + ], + }], +- ['OS=="linux" and clang==1', { +- 'libraries': ['-latomic'], +- }], + ], + }, + +--- a/tools/v8_gypfiles/v8.gyp ++++ b/tools/v8_gypfiles/v8.gyp +@@ -1268,13 +1268,6 @@ + ['v8_enable_third_party_heap', { + # TODO(targos): add values from v8_third_party_heap_libs to link_settings.libraries + }], +- # Platforms that don't have Compare-And-Swap (CAS) support need to link atomic library +- # to implement atomic memory access +- ['v8_current_cpu in ["mips64", "mips64el", "ppc", "arm", "riscv64", "loong64"]', { +- 'link_settings': { +- 'libraries': ['-latomic', ], +- }, +- }], + ], + }, # v8_base_without_compiler + { |