Package: ceph / 10.2.5-6~bpo8+1

softfp-armel.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
--- a/m4/ax_arm.m4
+++ b/m4/ax_arm.m4
@@ -7,6 +7,9 @@
       AX_CHECK_COMPILE_FLAG(-mfpu=neon, ax_cv_support_neon_ext=yes, [])
       if test x"$ax_cv_support_neon_ext" = x"yes"; then
         ARM_NEON_FLAGS="-mfpu=neon -DARM_NEON"
+        if test x"$target_os" = x"linux-gnueabi"; then
+          ARM_NEON_FLAGS="$ARM_NEON_FLAGS -mfloat-abi=softfp"
+        fi
         AC_SUBST(ARM_NEON_FLAGS)
         ARM_FLAGS="$ARM_FLAGS $ARM_NEON_FLAGS"
         AC_DEFINE(HAVE_NEON,,[Support NEON instructions])