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:
-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