summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2019-09-26 12:51:46 -0700
committerSam Roberts <vieuxtech@gmail.com>2019-10-01 14:27:48 -0700
commitf3ae3c9e3d2837bdbb21839e53498149b482449c (patch)
treec296f412bdd4c171a17b7a8dafe3d5b218ad6b44 /tools
parenta006465b438df26199687a4fdc5c7fd4e97eacc1 (diff)
downloadandroid-node-v8-f3ae3c9e3d2837bdbb21839e53498149b482449c.tar.gz
android-node-v8-f3ae3c9e3d2837bdbb21839e53498149b482449c.tar.bz2
android-node-v8-f3ae3c9e3d2837bdbb21839e53498149b482449c.zip
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>
Diffstat (limited to 'tools')
-rw-r--r--tools/v8_gypfiles/v8.gyp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp
index 00e285ec2c..a506a67dba 100644
--- a/tools/v8_gypfiles/v8.gyp
+++ b/tools/v8_gypfiles/v8.gyp
@@ -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', ],
},