From ffabe91a8c579787eee1df89dab0c81f4fddb9d3 Mon Sep 17 00:00:00 2001 From: Javernaut Date: Wed, 22 Apr 2020 15:15:22 +0300 Subject: [PATCH] disabling asm for wavpack for arm64-v8a --- scripts/libwavpack/build.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/libwavpack/build.sh b/scripts/libwavpack/build.sh index 1bd547d..45815f2 100755 --- a/scripts/libwavpack/build.sh +++ b/scripts/libwavpack/build.sh @@ -3,6 +3,10 @@ # The Wavpack may reqire libiconv for proper work # Consider building it and passing via --with-iconv +if [[ $ANDROID_ABI = "arm64-v8a" ]]; then + ADDITIONAL_FLAGS=--disable-asm +fi + ./configure \ --prefix=${INSTALL_DIR} \ --host=${TARGET} \ @@ -12,11 +16,11 @@ --with-pic \ --disable-apps \ --disable-tests \ - --enable-asm \ --disable-man \ CC=${FAM_CC} \ AR=${FAM_AR} \ - RANLIB=${FAM_RANLIB} || exit 1 + RANLIB=${FAM_RANLIB} \ + ${ADDITIONAL_FLAGS} || exit 1 export FFMPEG_EXTRA_LD_FLAGS="${FFMPEG_EXTRA_LD_FLAGS} -lm"