projects
/
ceph.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
460bc42
)
softfp-armel
author
Ceph Maintainers
<ceph-maintainers@lists.ceph.com>
Tue, 19 Feb 2019 07:50:12 +0000
(07:50 +0000)
committer
Gaudenz Steinlin
<gaudenz@debian.org>
Tue, 19 Feb 2019 07:50:12 +0000
(07:50 +0000)
Gbp-Pq: Name softfp-armel.patch
cmake/modules/SIMDExt.cmake
patch
|
blob
|
history
diff --git
a/cmake/modules/SIMDExt.cmake
b/cmake/modules/SIMDExt.cmake
index 5330835aa162b2403a1babf579be3c9ed25cc239..f1d67856d35acd0d4c3adb3571c606863fa27b78 100644
(file)
--- 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")