ceph: tweak for aarch64.

This commit is contained in:
Christian Neukirchen 2016-09-27 17:25:09 +02:00
parent 11a6926987
commit c6170f15c1

View file

@ -19,9 +19,11 @@ homepage="http://ceph.com/"
distfiles="http://download.ceph.com/tarballs/ceph-${version}.tar.gz"
checksum=dca933aa14db67b404d836ef510bd418091978edc2f0c74dfc530ba0aa5e8994
# - Needs CRC32 extension on ARMv8 (ODROID-C2 has it)
# - Needs NEON on ARM (armv7+)
case "$XBPS_TARGET_MACHINE" in
*-musl) broken="execinfo.h, PTHREAD_RWLOCK_NONRECURSIVE_NP, etc";;
aarch64*) CFLAGS="-march=armv8-a+crc";;
armv7*) CFLAGS="-mfpu=neon";;
esac