Skip to content

Commit

Permalink
ios/build: --disable-asm when armv7 and armv7s
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondzheng authored and wuzhiqiang committed Oct 30, 2020
1 parent b6a558c commit 8dd73db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ios/tools/do-compile-ffmpeg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ elif [ "$FF_ARCH" = "armv7" ]; then
FF_BUILD_NAME_OPENSSL=openssl-armv7
FF_XCRUN_OSVERSION="-miphoneos-version-min=6.0"
FF_XCODE_BITCODE="-fembed-bitcode"
FFMPEG_CFG_FLAGS_ARM="$FFMPEG_CFG_FLAGS_ARM --disable-asm"
FFMPEG_CFG_FLAGS="$FFMPEG_CFG_FLAGS $FFMPEG_CFG_FLAGS_ARM"
# FFMPEG_CFG_CPU="--cpu=cortex-a8"
elif [ "$FF_ARCH" = "armv7s" ]; then
Expand All @@ -147,6 +148,7 @@ elif [ "$FF_ARCH" = "armv7s" ]; then
FFMPEG_CFG_CPU="--cpu=swift"
FF_XCRUN_OSVERSION="-miphoneos-version-min=6.0"
FF_XCODE_BITCODE="-fembed-bitcode"
FFMPEG_CFG_FLAGS_ARM="$FFMPEG_CFG_FLAGS_ARM --disable-asm"
FFMPEG_CFG_FLAGS="$FFMPEG_CFG_FLAGS $FFMPEG_CFG_FLAGS_ARM"
elif [ "$FF_ARCH" = "arm64" ]; then
FF_BUILD_NAME="ffmpeg-arm64"
Expand Down

0 comments on commit 8dd73db

Please sign in to comment.