mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
ccls: use generic libatomic checks
This commit is contained in:
parent
48c55e7109
commit
ae0160a041
1 changed files with 6 additions and 10 deletions
|
@ -13,16 +13,12 @@ distfiles="https://github.com/MaskRay/ccls/archive/${version}.tar.gz"
|
||||||
checksum=6f39fa5ce79c1682973811ce2409718710bfef6008f94f96277393e6846bd76c
|
checksum=6f39fa5ce79c1682973811ce2409718710bfef6008f94f96277393e6846bd76c
|
||||||
nocross="Clang cannot be installed as makedep"
|
nocross="Clang cannot be installed as makedep"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
ppc64*) ;;
|
makedepends+=" libatomic-devel"
|
||||||
armv6*|ppc*) makedepends+=" libatomic-devel";;
|
fi
|
||||||
esac
|
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
ppc64*) ;;
|
echo "target_link_libraries(ccls PRIVATE atomic)" >> CMakeLists.txt
|
||||||
armv6*|ppc*)
|
fi
|
||||||
echo "target_link_libraries(ccls PRIVATE atomic)" >> CMakeLists.txt
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue