diff --git a/srcpkgs/libtorrent-rasterbar/template b/srcpkgs/libtorrent-rasterbar/template index cb13c54622d..3c7a91fee0f 100644 --- a/srcpkgs/libtorrent-rasterbar/template +++ b/srcpkgs/libtorrent-rasterbar/template @@ -15,12 +15,10 @@ homepage="https://libtorrent.org/" distfiles="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${version//./_}/libtorrent-rasterbar-${version}.tar.gz" checksum=1582fdbbd0449bcfe4ffae2ccb9e5bf0577459a32bb25604e01accb847da1a2d -case "$XBPS_TARGET_MACHINE" in - armv[56]*|mips*|ppc|ppc-musl) - makedepends+=" libatomic-devel" - LDFLAGS+=" -latomic" - ;; -esac +if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + makedepends+=" libatomic-devel" + LDFLAGS+=" -latomic" +fi pre_configure() { local _py3_ver=${py3_ver}${py3_abiver}