From 06ea53ad2b6911af91bb7dc614456fc3ae2c4300 Mon Sep 17 00:00:00 2001 From: Ceph Maintainers Date: Sat, 29 Dec 2018 21:08:52 +0000 Subject: [PATCH] softfp-armel Gbp-Pq: Name softfp-armel.patch --- cmake/modules/SIMDExt.cmake | 3 +++ 1 file changed, 3 insertions(+) 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") -- 2.30.2