Skip to content

Commit

Permalink
Add -O0 optimization parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg committed Dec 16, 2024
1 parent e70bf17 commit 1bf6b17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ if(WIN32 AND MSVC)
endif()

if (CMAKE_CXX_COMPILER_ID MATCHES "gcc")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O0")

target_compile_options(${PROJECT_NAME} PRIVATE
#-falign-functions
Expand Down

0 comments on commit 1bf6b17

Please sign in to comment.