summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-02-11 16:53:48 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-02-11 16:54:13 +0900
commit88fde9ede2cfc3861c4f9e85cdd9be77d068bd8f (patch)
tree8d4a0cff8d4973615dedc4afa9f18ce01346483a /configure.ac
parent9d9ea2e98cf0205b46a04dcc33c2093641e89591 (diff)
Revert "configure - don't add -mfpu-neon on arm - this breaks building for armv6/4..."
This reverts commit c94252a14ca004ec71ad0cfd60ba306b558af15b.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ed4ddfbf60..a7287d057a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -510,6 +510,8 @@ case $host_cpu in
510 arm*) 510 arm*)
511 build_cpu_neon="yes" 511 build_cpu_neon="yes"
512 AC_MSG_CHECKING([whether to use NEON instructions]) 512 AC_MSG_CHECKING([whether to use NEON instructions])
513 CFLAGS_save="${CFLAGS}"
514 CFLAGS="${CFLAGS} -mfpu=neon"
513 AC_TRY_COMPILE([#include <arm_neon.h>], 515 AC_TRY_COMPILE([#include <arm_neon.h>],
514 [asm volatile ("vqadd.u8 d0, d1, d0\n")], 516 [asm volatile ("vqadd.u8 d0, d1, d0\n")],
515 [ 517 [
@@ -521,6 +523,7 @@ case $host_cpu in
521 AC_MSG_RESULT([no]) 523 AC_MSG_RESULT([no])
522 build_cpu_neon="no" 524 build_cpu_neon="no"
523 ]) 525 ])
526 CFLAGS="${CFLAGS_save}"
524 ;; 527 ;;
525esac 528esac
526 529