Link to -latomic by default

This avoids surprises on mips*el/ppc*el
Last-Update: 2019-10-25
Forwarded: not-needed
Bug: https://github.com/nodejs/node/pull/28532
Bug: https://github.com/nodejs/node/issues/30093

Gbp-Pq: Name atomic.patch
This commit is contained in:
Jérémy Lal 2022-08-16 11:14:23 +08:00 committed by Lu zhiping
parent 41dffd7a38
commit bc89866cfd
1 changed files with 5 additions and 0 deletions

View File

@ -210,6 +210,11 @@
'-lkvm', '-lkvm',
], ],
}], }],
[ 'OS=="linux"', {
'libraries': [
'-latomic',
],
}],
[ 'OS=="aix"', { [ 'OS=="aix"', {
'defines': [ 'defines': [
'_LINUX_SOURCE_COMPAT', '_LINUX_SOURCE_COMPAT',