Commit 31235a3c authored by Luca Barbato's avatar Luca Barbato

configure: Do not set arm CFLAGS if the target host is aarch64

Unbreaks --enable-neon
parent fc485c56
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment