From 117a1eaab8c6fc9a10d7c98a2c6f442e3faa1241 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <99822064+revonateB0T@users.noreply.github.com> Date: Mon, 13 Oct 2025 17:21:39 +0800 Subject: [PATCH] Fix -Ofast deprecation --- app/src/main/cpp/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/cpp/CMakeLists.txt b/app/src/main/cpp/CMakeLists.txt index 615210b64..fb55b2e70 100644 --- a/app/src/main/cpp/CMakeLists.txt +++ b/app/src/main/cpp/CMakeLists.txt @@ -4,7 +4,7 @@ include(ExternalProject) include(FetchContent) if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug") - string(CONCAT CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Ofast -fvisibility=hidden -fvisibility-inlines-hidden -funroll-loops -flto " + string(CONCAT CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3 -ffast-math -fvisibility=hidden -fvisibility-inlines-hidden -funroll-loops -flto " "-mllvm -polly " "-mllvm -polly-run-dce " "-mllvm -polly-run-inliner "