--- CMakeLists.txt.orig	2023-09-16 06:22:49 UTC
+++ CMakeLists.txt
@@ -122,8 +122,8 @@ include(OptimizeForArchitecture)
 OptimizeForArchitecture()
 
 if (UNIX AND NOT OpenMVG_BUILD_COVERAGE)
-  set(CMAKE_C_FLAGS_RELEASE "-O3")
-  set(CMAKE_CXX_FLAGS_RELEASE "-O3")
+  #set(CMAKE_C_FLAGS_RELEASE "-O3")
+  #set(CMAKE_CXX_FLAGS_RELEASE "-O3")
 endif ()
 
 # ==============================================================================
