libbitcoin-explorer: use generic libatomic checks
This commit is contained in:
parent
c9987ace7f
commit
0c3e67a532
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue