softfp-armel
authorCeph Maintainers <ceph-maintainers@lists.ceph.com>
Sun, 30 Jul 2017 09:48:17 +0000 (10:48 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Sun, 30 Jul 2017 09:48:17 +0000 (10:48 +0100)
Gbp-Pq: Name softfp-armel.patch

m4/ax_arm.m4

index 26b5258bd6f96b4ed8c23c74223304660579a6ff..627f7c79a464b242a582ec0287d5cde6cf759664 100644 (file)
@@ -7,6 +7,9 @@ AC_DEFUN([AX_ARM_FEATURES],
       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])