Commit 4b2efa2e authored by Thomas Guillem's avatar Thomas Guillem

MKV: force neon on armv7*

VLC configure fails to detect NEON support because of a clang error with
-mhard-float.
parent 5d5d855c
......@@ -460,10 +460,10 @@ buildLibVLC() {
SCARYFLAG="--disable-dca --disable-dvbpsi --disable-avcodec --disable-avformat --disable-zvbi --enable-vpx"
fi
if [ "$TVOS" = "yes" ]; then
TVOSOPTIONS="--disable-neon"
if [ "$TVOS" != "yes" -a \( "$ARCH" = "armv7" -o "$ARCH" = "armv7s" \) ];then
export ac_cv_arm_neon=yes
else
TVOSOPTIONS="--enable-neon"
export ac_cv_arm_neon=no
fi
# Available but not authorized
......@@ -481,7 +481,6 @@ buildLibVLC() {
--enable-static \
${DEBUGFLAG} \
${SCARYFLAG} \
${TVOSOPTIONS} \
--disable-macosx \
--disable-macosx-qtkit \
--disable-macosx-avfoundation \
......
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