mirror of https://github.com/nodejs/node.git
build: remove unused libatomic on ppc64, s390x
The library is not necessary for ppc64 or s390x. It does no harm with some linkers, but devtoolset-6 creates runtime dependencies on all link libraries, even unused ones. Fixes: https://github.com/nodejs/node/issues/27377 Fixes: https://github.com/nodejs/node/issues/29718 PR-URL: https://github.com/nodejs/node/pull/29727 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>pull/29777/head
parent
a006465b43
commit
f3ae3c9e3d
|
@ -795,7 +795,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", "ppc64", "s390x"]', {
|
||||
['v8_current_cpu in ["mips", "mipsel", "mips64", "mips64el", "ppc"]', {
|
||||
'link_settings': {
|
||||
'libraries': ['-latomic', ],
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue