Commit 8762d5e5 authored by Ghislain MARY's avatar Ghislain MARY

Disable asm for ffmpeg on Android x86 to prevent crash at the start of the...

Disable asm for ffmpeg on Android x86 to prevent crash at the start of the application because of relocations.
parent 9f2d4a88
......@@ -138,7 +138,7 @@ else()
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "armeabi-v7a")
lcb_configure_options("--enable-neon" "--cpu=cortex-a8" "--disable-armv5te" "--enable-armv6" "--enable-armv6t2")
else()
lcb_configure_options("--disable-mmx" "--disable-sse2" "--disable-ssse3")
lcb_configure_options("--disable-mmx" "--disable-sse2" "--disable-ssse3" "--disable-asm")
endif()
if(CMAKE_C_COMPILER_TARGET) # When building with clang
lcb_configure_options("--extra-cflags=--target=${CMAKE_C_COMPILER_TARGET} --gcc-toolchain=${EXTERNAL_TOOLCHAIN_PATH}/..")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment