plocate: fix for platform without builtin atomic

This commit is contained in:
Đoàn Trần Công Danh 2020-10-28 06:15:28 +07:00
parent 01af9f22da
commit 60e3ca1b06

View file

@ -12,3 +12,8 @@ license="GPL-2.0-or-later"
homepage="https://plocate.sesse.net/"
distfiles="https://plocate.sesse.net/download/plocate-${version}.tar.gz"
checksum=afb62d4ff85bdef51f5daa143e15889718d272cef9e9e43d1149ca36584fa6cd
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
LIBS="-latomic"
fi