mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
ccls: fix build on armv6/ppc32
This commit is contained in:
parent
d4e7bc530c
commit
f525e3c000
1 changed files with 14 additions and 0 deletions
|
@ -12,3 +12,17 @@ homepage="https://github.com/MaskRay/ccls"
|
||||||
distfiles="https://github.com/MaskRay/ccls/archive/${version}.tar.gz"
|
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
|
||||||
|
ppc64*) ;;
|
||||||
|
armv6*|ppc*) makedepends+=" libatomic-devel";;
|
||||||
|
esac
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
ppc64*) ;;
|
||||||
|
armv6*|ppc*)
|
||||||
|
echo "target_link_libraries(ccls PRIVATE atomic)" >> CMakeLists.txt
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue