plocate: fix for platform without builtin atomic
This commit is contained in:
@@ -12,3 +12,8 @@ license="GPL-2.0-or-later"
|
|||||||
homepage="https://plocate.sesse.net/"
|
homepage="https://plocate.sesse.net/"
|
||||||
distfiles="https://plocate.sesse.net/download/plocate-${version}.tar.gz"
|
distfiles="https://plocate.sesse.net/download/plocate-${version}.tar.gz"
|
||||||
checksum=afb62d4ff85bdef51f5daa143e15889718d272cef9e9e43d1149ca36584fa6cd
|
checksum=afb62d4ff85bdef51f5daa143e15889718d272cef9e9e43d1149ca36584fa6cd
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
|
makedepends+=" libatomic-devel"
|
||||||
|
LIBS="-latomic"
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user