From f321fe4955b3014de1a5ec180d4c75c8018a6a01 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Tue, 4 Dec 2018 18:04:58 +0100 Subject: [PATCH] Always use lzo without optimisation on armv7a (closes #944) --- main/src/main/cpp/lzo.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main/src/main/cpp/lzo.cmake b/main/src/main/cpp/lzo.cmake index 4122c85e1..d791b14f5 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