plocate: fix for platform without builtin atomic
This commit is contained in:
parent
01af9f22da
commit
60e3ca1b06
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue