mirror of
https://github.com/termux/termux-packages.git
synced 2025-05-11 12:05:45 +00:00
15 lines
438 B
Diff
15 lines
438 B
Diff
See https://github.com/termux/termux-packages/issues/15666#issuecomment-1479663622
|
|
and https://github.com/termux/termux-packages/issues/15666#issuecomment-1482340986
|
|
|
|
--- a/cmake/Codegen.cmake.orig
|
|
+++ b/cmake/Codegen.cmake
|
|
@@ -57,7 +57,7 @@
|
|
if(MSVC)
|
|
set(OPT_FLAG "/fp:strict ")
|
|
else(MSVC)
|
|
- set(OPT_FLAG "-O3 ")
|
|
+ set(OPT_FLAG "-Og ")
|
|
if("${CMAKE_BUILD_TYPE}" MATCHES "Debug")
|
|
set(OPT_FLAG " ")
|
|
endif()
|