Skip to content

Commit

Permalink
Updated scripts, fixed a bug which was causing Illegal Instruction er…
Browse files Browse the repository at this point in the history
…ror in some arm devices
  • Loading branch information
hiteshsondhi88 committed Sep 19, 2014
1 parent 1cd145b commit 1b2069e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions abi_settings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@ case $1 in
NDK_ABI='arm'
NDK_TOOLCHAIN_ABI='arm-linux-androideabi'
NDK_CROSS_PREFIX="${NDK_TOOLCHAIN_ABI}"
CFLAGS="$CFLAGS -march=armv7-a"
;;
armeabi-v7a-neon)
NDK_ABI='arm'
NDK_TOOLCHAIN_ABI='arm-linux-androideabi'
NDK_CROSS_PREFIX="${NDK_TOOLCHAIN_ABI}"
CFLAGS="$CFLAGS -march=armv7-a -mfpu=neon"
CFLAGS="${CFLAGS} -mfpu=neon"
;;
x86)
NDK_ABI='x86'
Expand Down
4 changes: 2 additions & 2 deletions ffmpeg_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
pushd ffmpeg

case $1 in
armeabi-v7a | armeabi-v7a-neon )
CPU='armv7-a'
armeabi-v7a | armeabi-v7a-neon)
CPU='cortex-a8'
;;
x86)
CPU='i686'
Expand Down
Binary file modified libpng_build.sh
Binary file not shown.
1 change: 1 addition & 0 deletions x264_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ echo $CFLAGS
--sysroot="$NDK_SYSROOT" \
--host="$HOST" \
--enable-pic \
--disable-asm \
--enable-static \
--disable-shared \
--prefix="${TOOLCHAIN_PREFIX}" \
Expand Down

0 comments on commit 1b2069e

Please sign in to comment.