Making scripts/ffmpeg/build.sh build the vanilla version of the library (with all default modules enabled)

pull/25/head
Javernaut 5 years ago
parent 2f85b4524c
commit 795d67bee4
  1. 16
      scripts/ffmpeg/build.sh

@ -1,9 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
case $ANDROID_ABI in case $ANDROID_ABI in
armeabi-v7a)
EXTRA_BUILD_CONFIGURATION_FLAGS=--enable-thumb
;;
x86) x86)
# Disabling assembler optimizations, because they have text relocations # Disabling assembler optimizations, because they have text relocations
EXTRA_BUILD_CONFIGURATION_FLAGS=--disable-asm EXTRA_BUILD_CONFIGURATION_FLAGS=--disable-asm
@ -41,19 +38,6 @@ DEP_LD_FLAGS="-L${BUILD_DIR_EXTERNAL}/${ANDROID_ABI}/lib $FFMPEG_EXTRA_LD_FLAGS"
--disable-static \ --disable-static \
--pkg-config=$(which pkg-config) \ --pkg-config=$(which pkg-config) \
${EXTRA_BUILD_CONFIGURATION_FLAGS} \ ${EXTRA_BUILD_CONFIGURATION_FLAGS} \
--disable-runtime-cpudetect \
--disable-programs \
--disable-muxers \
--disable-encoders \
--disable-avdevice \
--disable-postproc \
--disable-swresample \
--disable-avfilter \
--disable-doc \
--disable-debug \
--disable-pthreads \
--disable-network \
--disable-bsfs \
$ADDITIONAL_COMPONENTS $ADDITIONAL_COMPONENTS
${MAKE_EXECUTABLE} clean ${MAKE_EXECUTABLE} clean

Loading…
Cancel
Save