Skip to content

Commit

Permalink
Merge pull request #247 from zerotier/brenton/remove-debug-optimization
Browse files Browse the repository at this point in the history
Remove debug optimization -O3
  • Loading branch information
joseph-henry authored Aug 19, 2023
2 parents d5ffe38 + 29b2087 commit b2d5e08
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,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)
Expand Down Expand Up @@ -398,7 +397,6 @@ else()

set(CMAKE_C_FLAGS_DEBUG
"${CMAKE_C_FLAGS_DEBUG} \
${DEBUG_OPTIMIZATION} \
-DLWIP_DEBUG=1 -DLIBZT_DEBUG=1")

set(CMAKE_C_FLAGS_RELEASE
Expand All @@ -411,7 +409,6 @@ else()

set(CMAKE_CXX_FLAGS_DEBUG
"${CMAKE_CXX_FLAGS_DEBUG} \
${DEBUG_OPTIMIZATION} \
-DLWIP_DEBUG=1 -DLIBZT_DEBUG=1")

set(CMAKE_CXX_FLAGS_RELEASE
Expand Down

0 comments on commit b2d5e08

Please sign in to comment.