Skip to content

Commit

Permalink
Merge pull request #1642 from fengzeroz/v2.6
Browse files Browse the repository at this point in the history
build: O0
  • Loading branch information
fengzeroz authored Nov 2, 2023
2 parents b131255 + 0a69a90 commit 0683191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ if(USE_GCOV)
endif(USE_GCOV)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -g")
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS} -O1")
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS} -O0")

if(NOT DISABLE_ASAN)
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS} -fsanitize=address")
Expand Down

0 comments on commit 0683191

Please sign in to comment.