From: Ceph Maintainers Date: Wed, 7 Jun 2017 08:39:39 +0000 (+0100) Subject: softfp-armel X-Git-Tag: archive/raspbian/12.2.8+dfsg1-5+rpi1~3^2~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6aa9b7d1a47c40db90ca1bfa162084aa0ebfdedf;p=ceph.git softfp-armel Gbp-Pq: Name softfp-armel.patch --- diff --git a/m4/ax_arm.m4 b/m4/ax_arm.m4 index 26b5258bd..627f7c79a 100644 --- a/m4/ax_arm.m4 +++ b/m4/ax_arm.m4 @@ -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])