aboutsummaryrefslogtreecommitdiff
path: root/nodejs/atomic.patch
diff options
context:
space:
mode:
authorWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-06-03 14:32:36 +0000
committerWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-06-03 14:32:36 +0000
commit93a354611e38a6949add5c2e5ccc93ef79b9755f (patch)
tree7fee41752b1047d74c59f8ee046cd62735e7e934 /nodejs/atomic.patch
parent35912580b66e9439f91ea441938828ad8aa33b0d (diff)
downloadalicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.tar.gz
alicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.zip
Woodpecker CI 5171f1fdd74e7137c305450dd69a29fa5be4143f [SKIP CI]
Diffstat (limited to 'nodejs/atomic.patch')
-rw-r--r--nodejs/atomic.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/nodejs/atomic.patch b/nodejs/atomic.patch
new file mode 100644
index 00000000..254ca7d3
--- /dev/null
+++ b/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
+ {