diff options
| author | Brenton Bostick <[email protected]> | 2023-08-18 12:04:33 -0400 |
|---|---|---|
| committer | Brenton Bostick <[email protected]> | 2023-08-18 12:04:33 -0400 |
| commit | 29b20879f73d974e7489f6e122e8f703e4f26626 (patch) | |
| tree | 52ce6f1d5413ee80cb4dc375284275b701d8b12f | |
| parent | 624038dd93ca0d416bb20102e41ca67ea51335d4 (diff) | |
Remove debug optimization -O3
This was running many optimization passes and preventing debugging
| -rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index dab7608..6f554e5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -281,7 +281,6 @@ endif() if(CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_BUILD_TYPE STREQUAL "debug") set(BUILD_DEBUG ON) set(CMAKE_VERBOSE_MAKEFILE ON) - set(DEBUG_OPTIMIZATION "-O3") endif() if(CMAKE_BUILD_TYPE STREQUAL "Release" OR CMAKE_BUILD_TYPE STREQUAL "release") set(BUILD_RELEASE ON) @@ -400,7 +399,6 @@ else() set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} \ - ${DEBUG_OPTIMIZATION} \ -DLWIP_DEBUG=1 -DLIBZT_DEBUG=1") set(CMAKE_C_FLAGS_RELEASE @@ -413,7 +411,6 @@ else() set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} \ - ${DEBUG_OPTIMIZATION} \ -DLWIP_DEBUG=1 -DLIBZT_DEBUG=1") set(CMAKE_CXX_FLAGS_RELEASE |
