From: Ceph Maintainers Date: Sun, 30 Jul 2017 09:48:17 +0000 (+0100) Subject: softfp-armel X-Git-Tag: archive/raspbian/12.2.8+dfsg1-5+rpi1~12 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=030d2d96f7754c964d7d911ce4da7e2236f21d4e;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])