barbieri pushed a commit to branch efl-1.8.

http://git.enlightenment.org/core/efl.git/commit/?id=8aa17f3f26c876f3f2ef9e50219f101bdaa1e268

commit 8aa17f3f26c876f3f2ef9e50219f101bdaa1e268
Author: Gustavo Sverzut Barbieri <barbi...@profusion.mobi>
Date:   Mon Jan 20 12:15:56 2014 -0200

    configure: include required NEON build flags.
    
    It is required to use "-mfpu=neon" to build NEON.
    
    Patch-by: Albin Tonnerre <lu...@debian.org>
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index 0d8c4cc..254650b 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
 

-- 


Reply via email to