From b9e5cfbaf37c187934d23c11f9a07b723c21be6b Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 5 Dec 2021 09:57:28 +0100 Subject: community/nodejs: fixed patching in wrong place --- extra/nodejs/node-17.1.0-atomic.patch | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 extra/nodejs/node-17.1.0-atomic.patch (limited to 'extra/nodejs/node-17.1.0-atomic.patch') diff --git a/extra/nodejs/node-17.1.0-atomic.patch b/extra/nodejs/node-17.1.0-atomic.patch deleted file mode 100644 index 58ae4ecc..00000000 --- a/extra/nodejs/node-17.1.0-atomic.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff -rauN node-17.1.0/node.gyp node-17.1.0-atomic-patch/node.gyp ---- node-17.1.0/node.gyp 2021-11-08 16:40:59.000000000 +0100 -+++ node-17.1.0-atomic-patch/node.gyp 2021-12-04 12:21:17.836148103 +0100 -@@ -116,6 +116,11 @@ - '-Wl,-bnoerrmsg', - ], - }], -+ [ 'host_arch=="x86"', { -+ 'link_settings': { -+ 'libraries': [ '-latomic' ], -+ }, -+ }], - ['OS == "linux" and llvm_version != "0.0"', { - 'libraries': ['-latomic'], - }], -diff -rauN node-17.1.0/tools/v8_gypfiles/v8.gyp node-17.1.0-atomic-patch/tools/v8_gypfiles/v8.gyp ---- node-17.1.0/tools/v8_gypfiles/v8.gyp 2021-11-08 16:40:59.000000000 +0100 -+++ node-17.1.0-atomic-patch/tools/v8_gypfiles/v8.gyp 2021-12-04 11:32:45.735522099 +0100 -@@ -965,7 +965,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 ["mips", "mipsel", "mips64", "mips64el", "ppc", "arm", "riscv64"]', { -+ ['v8_current_cpu in ["mips", "mipsel", "mips64", "mips64el", "ppc", "arm", "riscv64", "x86"]', { - 'link_settings': { - 'libraries': ['-latomic', ], - }, -- cgit v1.2.3-70-g09d2