summaryrefslogtreecommitdiff
path: root/www/node22/files/patch-tools-v8_gypfiles-v8.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'www/node22/files/patch-tools-v8_gypfiles-v8.gyp')
-rw-r--r--www/node22/files/patch-tools-v8_gypfiles-v8.gyp11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/node22/files/patch-tools-v8_gypfiles-v8.gyp b/www/node22/files/patch-tools-v8_gypfiles-v8.gyp
new file mode 100644
index 000000000000..61657d4c24a1
--- /dev/null
+++ b/www/node22/files/patch-tools-v8_gypfiles-v8.gyp
@@ -0,0 +1,11 @@
+--- tools/v8_gypfiles/v8.gyp.orig 2023-05-16 06:58:22 UTC
++++ tools/v8_gypfiles/v8.gyp
+@@ -1091,7 +1091,7 @@
+ }],
+ # 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"]', {
++ ['v8_current_cpu in ["mips64", "mips64el", "ppc", "riscv64", "loong64"]', {
+ 'link_settings': {
+ 'libraries': ['-latomic', ],
+ },