Skip to content

Commit

Permalink
Always use lzo without optimisation on armv7a (closes #944)
Browse files Browse the repository at this point in the history
  • Loading branch information
schwabe committed Dec 4, 2018
1 parent b9ff2ea commit f321fe4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main/src/main/cpp/lzo.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,6 @@ set(lzo_srcs
PREPEND(lzo_src_with_path "lzo/src" ${lzo_srcs})
add_library(lzo ${lzo_src_with_path})
target_include_directories(lzo PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/lzo/include")
if (${ANDROID_ABI} STREQUAL "armeabi-v7a")
target_compile_options(lzo PRIVATE -O0)
endif()

0 comments on commit f321fe4

Please sign in to comment.