kiwix-lib: use generic libatomic checks

This commit is contained in:
q66 2020-02-08 17:18:05 +01:00
parent 10864d8bc7
commit 81c50c8822

View file

@ -14,13 +14,10 @@ changelog="https://github.com/kiwix/kiwix-lib/blob/${version}/ChangeLog"
distfiles="https://github.com/kiwix/kiwix-lib/archive/${version}.tar.gz"
checksum=dc8d454d79b175c0b9f3c4d268db17da8e80fcd8df3987af0f58cb399bd5da61
case "$XBPS_TARGET_MACHINE" in
ppc64*) ;;
armv6l*|ppc*)
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
LDFLAGS="-latomic"
;;
esac
fi
kiwix-lib-devel_package() {
short_desc+=" - development packages"