Skip to content

Commit f91778d

Browse files
sam-githubBridgeAR
authored andcommitted
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: #27377 Fixes: #29718 PR-URL: #29727 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent bc48646 commit f91778d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/v8_gypfiles/v8.gyp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@
795795
}],
796796
# Platforms that don't have Compare-And-Swap (CAS) support need to link atomic library
797797
# to implement atomic memory access
798-
['v8_current_cpu in ["mips", "mipsel", "mips64", "mips64el", "ppc", "ppc64", "s390x"]', {
798+
['v8_current_cpu in ["mips", "mipsel", "mips64", "mips64el", "ppc"]', {
799799
'link_settings': {
800800
'libraries': ['-latomic', ],
801801
},

0 commit comments

Comments
 (0)