From: Ceph Maintainers Date: Tue, 19 Feb 2019 07:50:12 +0000 (+0000) Subject: softfp-armel X-Git-Tag: archive/raspbian/12.2.11+dfsg1-2+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e0cdce64bf984885e9f8c877f689b75ab38483a2;p=ceph.git softfp-armel Gbp-Pq: Name softfp-armel.patch --- diff --git a/cmake/modules/SIMDExt.cmake b/cmake/modules/SIMDExt.cmake index 5330835aa..f1d67856d 100644 --- a/cmake/modules/SIMDExt.cmake +++ b/cmake/modules/SIMDExt.cmake @@ -71,6 +71,9 @@ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "arm|ARM") CHECK_C_COMPILER_FLAG(-mfpu=neon HAVE_ARM_NEON) if(HAVE_ARM_NEON) set(SIMD_COMPILE_FLAGS "${SIMD_COMPILE_FLAGS} -mfpu=neon") + if(CMAKE_LIBRARY_ARCHITECTURE STREQUAL "arm-linux-gnueabi") + set(SIMD_COMPILE_FLAGS "${SIMD_COMPILE_FLAGS} -mfloat-abi=softfp") + endif() endif() elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "i386|i686|amd64|x86_64|AMD64")