Commit eb1bc5f1 authored by Ghislain MARY's avatar Ghislain MARY

Only activate ARM neon intrinsics for ARMv7 on Android.

parent d28f67b8
...@@ -117,12 +117,14 @@ linphone_builder_add_cmake_option(ortp "-DENABLE_DOC=NO") ...@@ -117,12 +117,14 @@ linphone_builder_add_cmake_option(ortp "-DENABLE_DOC=NO")
set(EP_ortp_LINKING_TYPE "-DENABLE_STATIC=NO" "-DENABLE_SHARED=YES") set(EP_ortp_LINKING_TYPE "-DENABLE_STATIC=NO" "-DENABLE_SHARED=YES")
# polarssl # polarssl
set(EP_polarssl_LINKING_TYPE "-DUSE_SHARED_POLARSSL_LIBRARY=0") set(EP_polarssl_LINKING_TYPE "-DUSE_SHARED_POLARSSL_LIBRARY=NO")
# speex # speex
linphone_builder_add_cmake_option(speex "-DENABLE_FLOAT_API=NO") linphone_builder_add_cmake_option(speex "-DENABLE_FLOAT_API=NO")
linphone_builder_add_cmake_option(speex "-DENABLE_FIXED_POINT=YES") linphone_builder_add_cmake_option(speex "-DENABLE_FIXED_POINT=YES")
linphone_builder_add_cmake_option(speex "-DENABLE_ARM_NEON_INTRINSICS=1") if(CMAKE_SYSTEM_PROCESSOR STREQUAL "armeabi-v7a")
linphone_builder_add_cmake_option(speex "-DENABLE_ARM_NEON_INTRINSICS=YES")
endif()
# vpx # vpx
set(EP_vpx_LINKING_TYPE "--enable-static" "--disable-shared") set(EP_vpx_LINKING_TYPE "--enable-static" "--disable-shared")
......
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