sysbench: use generic libatomic checks

This commit is contained in:
q66 2020-02-08 17:24:05 +01:00
parent d13f50372c
commit 29dea74754

View file

@ -18,11 +18,9 @@ homepage="https://github.com/akopytov/sysbench"
distfiles="https://github.com/akopytov/sysbench/archive/${version}.tar.gz"
checksum=39cde56b58754d97b2fe6a1688ffc0e888d80c262cf66daee19acfb2997f9bdd
case "$XBPS_TARGET_MACHINE" in
ppc64*) ;;
armv6*|ppc*) makedepends+=" libatomic-devel" ;;
esac
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
fi
pre_configure() {
autoreconf -fi