libtorrent-rasterbar: use generic libatomic checks
This commit is contained in:
parent
8e8d1ea85f
commit
949f6ebf52
1 changed files with 4 additions and 6 deletions
|
@ -15,12 +15,10 @@ homepage="https://libtorrent.org/"
|
||||||
distfiles="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${version//./_}/libtorrent-rasterbar-${version}.tar.gz"
|
distfiles="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${version//./_}/libtorrent-rasterbar-${version}.tar.gz"
|
||||||
checksum=1582fdbbd0449bcfe4ffae2ccb9e5bf0577459a32bb25604e01accb847da1a2d
|
checksum=1582fdbbd0449bcfe4ffae2ccb9e5bf0577459a32bb25604e01accb847da1a2d
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
armv[56]*|mips*|ppc|ppc-musl)
|
makedepends+=" libatomic-devel"
|
||||||
makedepends+=" libatomic-devel"
|
LDFLAGS+=" -latomic"
|
||||||
LDFLAGS+=" -latomic"
|
fi
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
local _py3_ver=${py3_ver}${py3_abiver}
|
local _py3_ver=${py3_ver}${py3_abiver}
|
||||||
|
|
Loading…
Reference in a new issue