diff options
author | Arne Schwabe <arne@rfc2549.org> | 2018-12-04 18:04:58 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2018-12-04 18:04:58 +0100 |
commit | f321fe4955b3014de1a5ec180d4c75c8018a6a01 (patch) | |
tree | 58e804a2f92eefa12bdb68de24f8e330c4d52aec /main/src | |
parent | b9ff2eaf5a42f191005bca1c1aa7736af45828bc (diff) |
Always use lzo without optimisation on armv7a (closes #944)
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/main/cpp/lzo.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/src/main/cpp/lzo.cmake b/main/src/main/cpp/lzo.cmake index 4122c85e..d791b14f 100644 --- a/main/src/main/cpp/lzo.cmake +++ b/main/src/main/cpp/lzo.cmake @@ -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()
\ No newline at end of file |