kiwix-lib: use generic libatomic checks
This commit is contained in:
parent
10864d8bc7
commit
81c50c8822
1 changed files with 4 additions and 7 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue