Commit c0c5fbae authored by Simon Morlat's avatar Simon Morlat

Enable neon instructions on linux/armv7 for ffmpeg builder.

parent cf2ffba5
......@@ -148,6 +148,11 @@ else()
else()
set(FFMPEG_TARGET_OS "linux")
lcb_configure_options("--enable-runtime-cpudetect")
if(CMAKE_SYSTEM_PROCESSOR MATCHES "armv7")
lcb_configure_options("--cpu=cortex-a8")
lcb_extra_cflags("-mfpu=neon")
lcb_extra_cxxflags("-mfpu=neon")
endif()
endif()
lcb_configure_options("--cc=$CC")
endif()
......
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