dev-lang/spidermonkey: conditionally link libatomic

Closes: https://bugs.gentoo.org/688574
Closes: https://github.com/gentoo/gentoo/pull/26676
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
matoro
2022-07-30 22:50:26 -04:00
committed by Sam James
parent 69ac8a31ed
commit 0d064fd263

View File

@@ -3,7 +3,7 @@
EAPI=6
WANT_AUTOCONF="2.1"
inherit autotools check-reqs toolchain-funcs pax-utils mozcoreconf-v5
inherit autotools check-reqs toolchain-funcs pax-utils mozcoreconf-v5 flag-o-matic
MY_PN="mozjs"
MY_P="${MY_PN}-${PV/_rc/.rc}"
@@ -54,6 +54,8 @@ src_prepare() {
eapply_user
append-atomic-flags # bug 688574
cd "${S}/js/src" || die
eautoconf old-configure.in
eautoconf