Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Commit

Permalink
Disabled assembly for gmp.
Browse files Browse the repository at this point in the history
  • Loading branch information
tanersener committed Aug 30, 2018
1 parent d1f8172 commit 0d02689
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
12 changes: 1 addition & 11 deletions build/android-gmp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,13 @@ if [[ ${RECONF_gmp} -eq 1 ]]; then
autoreconf_library ${LIB_NAME}
fi

ASM_OPTIONS=""
case ${ARCH} in
arm-v7a | arm-v7a-neon)
ASM_OPTIONS="--disable-assembly"
;;
*)
ASM_OPTIONS="--enable-assembly"
;;
esac

./configure \
--prefix=${BASEDIR}/prebuilt/android-$(get_target_build)/${LIB_NAME} \
--with-pic \
--with-sysroot=${ANDROID_NDK_ROOT}/toolchains/mobile-ffmpeg-${TOOLCHAIN}/sysroot \
--enable-static \
--disable-shared \
${ASM_OPTIONS} \
--disable-assembly \
--disable-fast-install \
--disable-maintainer-mode \
--host=${TARGET_HOST} || exit 1
Expand Down
12 changes: 1 addition & 11 deletions build/ios-gmp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,23 +54,13 @@ if [[ ${RECONF_gmp} -eq 1 ]]; then
autoreconf_library ${LIB_NAME}
fi

ASM_FLAGS=""
case ${ARCH} in
armv7 | armv7s | arm64)
ASM_FLAGS="--disable-assembly"
;;
i386 | x86-64)
ASM_FLAGS="--enable-assembly"
;;
esac

./configure \
--prefix=${BASEDIR}/prebuilt/ios-$(get_target_host)/${LIB_NAME} \
--with-pic \
--with-sysroot=${SDK_PATH} \
--enable-static \
--disable-shared \
${ASM_FLAGS} \
--disable-assembly \
--disable-fast-install \
--disable-maintainer-mode \
--host=${TARGET_HOST} || exit 1
Expand Down

0 comments on commit 0d02689

Please sign in to comment.