libbitcoin-explorer: use generic libatomic checks

This commit is contained in:
q66 2020-02-08 17:18:31 +01:00
parent c9987ace7f
commit 0c3e67a532

View file

@ -19,9 +19,10 @@ distfiles="https://github.com/libbitcoin/libbitcoin-explorer/archive/v${version}
checksum=e1b3fa2723465f7366a6e8c55e14df53106e90b82cc977db638c78f9bc5c47db
conf_files="/etc/libbitcoin/bx.cfg"
case "$XBPS_TARGET_MACHINE" in
armv6*|ppc|ppc-musl) makedepends+=" libatomic-devel" LDFLAGS="-latomic" ;;
esac
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
LDFLAGS="-latomic"
fi
pre_configure() {
./autogen.sh