diff --git a/cl_dll/CMakeLists.txt b/cl_dll/CMakeLists.txt index f1dce6bf..37c03d7c 100644 --- a/cl_dll/CMakeLists.txt +++ b/cl_dll/CMakeLists.txt @@ -43,9 +43,6 @@ if(NOT MSVC) add_compile_options(-fomit-frame-pointer) # GCC/Clang flag add_compile_options(-ftree-vectorize) # GCC/Clang flag add_compile_options(-funsafe-math-optimizations) # GCC/Clang flag - if(CMAKE_SYSTEM_NAME STREQUAL "Android") - add_compile_options(-O3 -DNDEBUG) # gradle compiles release builds with RelWithDebInfo(-O2 -g) and strips debug symbols. - endif() endif() else() add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE) diff --git a/dlls/CMakeLists.txt b/dlls/CMakeLists.txt index ca69e13d..b78706c5 100644 --- a/dlls/CMakeLists.txt +++ b/dlls/CMakeLists.txt @@ -39,9 +39,6 @@ if(NOT MSVC) add_compile_options(-fomit-frame-pointer) # GCC/Clang flag add_compile_options(-ftree-vectorize) # GCC/Clang flag add_compile_options(-funsafe-math-optimizations) # GCC/Clang flag - if(CMAKE_SYSTEM_NAME STREQUAL "Android") - add_compile_options(-O3 -DNDEBUG) # gradle compiles release builds with RelWithDebInfo(-O2 -g) and strips debug symbols. - endif() endif() else() add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE)