commit:     af10fe810dd1e7d1c6c132a2e659a0dc40df2ed9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 28 00:23:24 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 28 00:23:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af10fe81

dev-libs/capnproto: final(!) libatomic fix

Bug: https://bugs.gentoo.org/832816
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/capnproto/capnproto-0.9.1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-libs/capnproto/capnproto-0.9.1.ebuild 
b/dev-libs/capnproto/capnproto-0.9.1.ebuild
index 69ef73c4bba3..2dae5197996e 100644
--- a/dev-libs/capnproto/capnproto-0.9.1.ebuild
+++ b/dev-libs/capnproto/capnproto-0.9.1.ebuild
@@ -27,7 +27,9 @@ DEPEND="${RDEPEND}
 
 src_configure() {
        if use arm || use ppc || use mips || [[ ${CHOST} == *i486* ]] ; then
-               append-libs -latomic
+               # append-libs won't work here, cmake doesn't respect it
+               # ... and ldflags gets missed once
+               append-flags -latomic
        fi
 
        local mycmakeargs=(

Reply via email to