mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-26 23:42:57 +02:00
ceph: tweak for aarch64.
This commit is contained in:
parent
11a6926987
commit
c6170f15c1
1 changed files with 2 additions and 0 deletions
|
@ -19,9 +19,11 @@ homepage="http://ceph.com/"
|
||||||
distfiles="http://download.ceph.com/tarballs/ceph-${version}.tar.gz"
|
distfiles="http://download.ceph.com/tarballs/ceph-${version}.tar.gz"
|
||||||
checksum=dca933aa14db67b404d836ef510bd418091978edc2f0c74dfc530ba0aa5e8994
|
checksum=dca933aa14db67b404d836ef510bd418091978edc2f0c74dfc530ba0aa5e8994
|
||||||
|
|
||||||
|
# - Needs CRC32 extension on ARMv8 (ODROID-C2 has it)
|
||||||
# - Needs NEON on ARM (armv7+)
|
# - Needs NEON on ARM (armv7+)
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl) broken="execinfo.h, PTHREAD_RWLOCK_NONRECURSIVE_NP, etc";;
|
*-musl) broken="execinfo.h, PTHREAD_RWLOCK_NONRECURSIVE_NP, etc";;
|
||||||
|
aarch64*) CFLAGS="-march=armv8-a+crc";;
|
||||||
armv7*) CFLAGS="-mfpu=neon";;
|
armv7*) CFLAGS="-mfpu=neon";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue