ceph: tweak for aarch64.
This commit is contained in:
parent
11a6926987
commit
c6170f15c1
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue