diff --git a/legacy/evas/configure.ac b/legacy/evas/configure.ac index 352171cad4..00c5527e31 100644 --- a/legacy/evas/configure.ac +++ b/legacy/evas/configure.ac @@ -1066,11 +1066,12 @@ case $host_cpu in esac AC_MSG_CHECKING(whether to build neon code) AC_ARG_ENABLE(cpu-neon, - AC_HELP_STRING([--enable-cpu-neon], [enable neon code - with gcc you will need these CFLAGS for it to begin to work, and even then your gcc may have broken or non-existent support: -mcpu=cortex-a8 -mfloat-abi=softfp -mfpu=neon]), + AC_HELP_STRING([--enable-cpu-neon], [build neon code, the code will be + checked at run time to see if the CPU supports it]), [ if test "x$enableval" = "xyes" ; then AC_TRY_COMPILE([#include ], - [asm volatile ("vqadd.u8 d0, d1, d0\n")], + [asm volatile (".fpu neon\nvqadd.u8 d0, d1, d0\n")], [ AC_MSG_RESULT(yes) AC_DEFINE(BUILD_NEON, 1, [Build NEON Code])