From: Ceph Maintainers Date: Fri, 5 Apr 2019 13:12:52 +0000 (+0100) Subject: softfp-armel X-Git-Tag: archive/raspbian/12.2.11+dfsg1-2.1+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8324270f81d1aac7aeb2bf6110affc5f910f0029;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")