Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/speexdsp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2018-02-27 16:33:43 +0300
committerLuca Barbato <lu_zero@gentoo.org>2018-02-27 16:33:43 +0300
commit31235a3c2e040f06fcaacb113db89c263d6c0669 (patch)
tree8576865fbfaa797d4212133127d5ac0eefeb800f
parentfc485c564c1172b1f78d113239f1d93ad8321316 (diff)
configure: Do not set arm CFLAGS if the target host is aarch64
Unbreaks --enable-neon
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1de0c23..2c5cbba 100644
--- a/configure.ac
+++ b/configure.ac
@@ -162,7 +162,9 @@ fi
AC_ARG_ENABLE(neon, [ --enable-neon Enable NEON support], [
if test "x$enableval" != xno; then
has_neon=yes
-CFLAGS="$CFLAGS -O3 -march=armv7-a -mfpu=neon"
+AS_CASE(["$host"],
+ [arm*], [CFLAGS="$CFLAGS -O3 -march=armv7-a -mfpu=neon"]
+)
else
has_neon=no
fi