summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/src/main/cpp/lzo.cmake3
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