aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2014-01-20 12:15:56 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2014-01-20 12:18:19 -0200
commit8aa17f3f26c876f3f2ef9e50219f101bdaa1e268 (patch)
tree6277ee200d0fff05c323187a410eece08617dbb3
parenteina-inlist - handle prepend/append relative if list is null (empty) (diff)
downloadefl-8aa17f3f26c876f3f2ef9e50219f101bdaa1e268.tar.gz
configure: include required NEON build flags.
It is required to use "-mfpu=neon" to build NEON. Patch-by: Albin Tonnerre <lutin@debian.org>
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0d8c4cca1b..254650bf63 100644
--- a/configure.ac
+++ b/configure.ac
@@ -516,6 +516,8 @@ case $host_cpu in
arm*)
build_cpu_neon="yes"
AC_MSG_CHECKING([whether to use NEON instructions])
+ CFLAGS_save="${CFLAGS}"
+ CFLAGS="${CFLAGS} -mfpu=neon"
AC_TRY_COMPILE([#include <arm_neon.h>],
[asm volatile ("vqadd.u8 d0, d1, d0\n")],
[
@@ -527,6 +529,7 @@ case $host_cpu in
AC_MSG_RESULT([no])
build_cpu_neon="no"
])
+ CFLAGS="${CFLAGS_save}"
;;
esac