From d373691cf2bfc16cc0ee209727f06366943cd9e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rui=20Ara=C3=BAjo?= Date: Thu, 17 Mar 2016 17:33:47 +0100 Subject: [PATCH] Update configure.ac While cross compiling for Android with NEON enabled it complained about the missing -mfloat option. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 39e64a24c..feb1b087d 100644 --- a/configure.ac +++ b/configure.ac @@ -392,8 +392,8 @@ case "${ax_cv_c_compiler_vendor}" in ;; *) if test "$have_neon" = "yes" -a "x$NEON_CFLAGS" = x; then - AX_CHECK_COMPILER_FLAGS(-mfpu=neon, [NEON_CFLAGS="-mfpu=neon"], - [AC_MSG_ERROR([Need a version of gcc with -mfpu=neon])]) + AX_CHECK_COMPILER_FLAGS(-mfpu=neon, [NEON_CFLAGS="-mfpu=neon -mfloat-abi=softfp"], + [AC_MSG_ERROR([Need a version of gcc with -mfpu=neon -mfloat-abi=softfp])]) fi ;; esac