forked from enlightenment/efl
configure - don't add -mfpu-neon on arm - this breaks building for armv6/4...
This commit is contained in:
parent
be4d28be6c
commit
c94252a14c
|
@ -510,8 +510,6 @@ case $host_cpu in
|
||||||
arm*)
|
arm*)
|
||||||
build_cpu_neon="yes"
|
build_cpu_neon="yes"
|
||||||
AC_MSG_CHECKING([whether to use NEON instructions])
|
AC_MSG_CHECKING([whether to use NEON instructions])
|
||||||
CFLAGS_save="${CFLAGS}"
|
|
||||||
CFLAGS="${CFLAGS} -mfpu=neon"
|
|
||||||
AC_TRY_COMPILE([#include <arm_neon.h>],
|
AC_TRY_COMPILE([#include <arm_neon.h>],
|
||||||
[asm volatile ("vqadd.u8 d0, d1, d0\n")],
|
[asm volatile ("vqadd.u8 d0, d1, d0\n")],
|
||||||
[
|
[
|
||||||
|
@ -523,7 +521,6 @@ case $host_cpu in
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
build_cpu_neon="no"
|
build_cpu_neon="no"
|
||||||
])
|
])
|
||||||
CFLAGS="${CFLAGS_save}"
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue