summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2025-07-18 00:15:27 +0200
committerRobert Clausecker <fuz@FreeBSD.org>2025-07-21 11:11:24 +0200
commitc13c2482f019745ff51bea6708ecf160546abcec (patch)
tree361671860f059bde8573d02d9eedf26670d072d4
parentconverters/simdutf: update to 7.3.3 (diff)
www/node24: fix build on armv7
No -latomic on FreeBSD. Approved by: portmgr (build fix blanket) MFH: 2025Q3
-rw-r--r--www/node24/files/patch-tools_v8__gypfiles_v8.gyp12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/node24/files/patch-tools_v8__gypfiles_v8.gyp b/www/node24/files/patch-tools_v8__gypfiles_v8.gyp
new file mode 100644
index 000000000000..189f9b3780d8
--- /dev/null
+++ b/www/node24/files/patch-tools_v8__gypfiles_v8.gyp
@@ -0,0 +1,12 @@
+--- tools/v8_gypfiles/v8.gyp.orig 2025-07-17 21:44:08 UTC
++++ tools/v8_gypfiles/v8.gyp
+@@ -1314,9 +1314,6 @@
+ # to implement atomic memory access.
+ # Clang needs it for some atomic operations (https://clang.llvm.org/docs/Toolchain.html#atomics-library).
+ ['(OS=="linux" and clang==1) or (v8_current_cpu in ["mips64", "mips64el", "arm", "riscv64", "loong64"])', {
+- 'link_settings': {
+- 'libraries': ['-latomic', ],
+- },
+ }],
+ ],
+ }, # v8_base_without_compiler