Skip to content

Instantly share code, notes, and snippets.

@fly1tkg
Created June 30, 2014 10:13
Show Gist options
  • Save fly1tkg/4f2c7799c09610c759c2 to your computer and use it in GitHub Desktop.
Save fly1tkg/4f2c7799c09610c759c2 to your computer and use it in GitHub Desktop.
android x264 build
NDK=/home/vagrant/android-ndk-r9d
SYSROOT=$NDK/platforms/android-9/arch-arm/
TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86
./configure \
--cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
--sysroot="$SYSROOT" \
--host=arm-linux \
--enable-pic \
--enable-static \
--disable-cli
make -j4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment