diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index 27a46162..46aba669 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -10,11 +10,11 @@ set(CMAKE_CXX_STANDARD_REQUIRED TRUE) set(source_DIR ${CMAKE_SOURCE_DIR}/src/main/cpp) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-strict-aliasing -Wno-unused-command-line-argument -fwrapv") -set(CMAKE_CXX_FLAGS_RELEASE "-Ofast -flto=full -fno-stack-protector -DNDEBUG -march=armv8-a+simd") +set(CMAKE_CXX_FLAGS_RELEASE "-Ofast -flto=full -fno-stack-protector -DNDEBUG") # Build all libraries with -Ofast but with default debug data (-g) for debug and reldebug builds -set(CMAKE_CXX_FLAGS_DEBUG "-Ofast -march=armv8-a+simd") -set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-Ofast -march=armv8-a+simd") +set(CMAKE_CXX_FLAGS_DEBUG "-Ofast") +set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-Ofast") # libcxxabi set(ANDROID_STL "none")