File: flag_atomic.patch

package info (click to toggle)
nodejs 24.11.1%2Bdfsg%2B~cs24.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 252,928 kB
  • sloc: cpp: 1,728,964; javascript: 473,397; ansic: 113,512; python: 60,329; sh: 4,344; makefile: 3,026; asm: 1,728; pascal: 1,562; perl: 494; lisp: 222; xml: 39
file content (19 lines) | stat: -rw-r--r-- 508 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Link to -latomic by default
 This avoids surprises on mips*el/ppc*el
Author: Jérémy Lal <kapouer@melix.org>
Last-Update: 2019-10-25
Forwarded: not-needed
Bug: https://github.com/nodejs/node/pull/28532
Bug: https://github.com/nodejs/node/issues/30093
--- a/node.gypi
+++ b/node.gypi
@@ -371,6 +371,9 @@
       'libraries!': [
         '-lrt'
       ],
+      'libraries': [
+        '-latomic'
+      ]
     }],
     [ 'OS in "freebsd linux openharmony"', {
       'ldflags': [ '-Wl,-z,relro',