Change -Og to -O0 because it made a lot of problems when debugging
This commit is contained in:
parent
fe0bde5c32
commit
410a5d4dd1
@ -61,7 +61,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
|
||||
|
||||
IF(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
add_definitions(-DDEBUGBUILD)
|
||||
add_compile_options(-Og -g)
|
||||
add_compile_options(-O0 -g)
|
||||
ELSE()
|
||||
add_compile_options(-O3 -g)
|
||||
add_link_options(-Wl,--gc-sections)
|
||||
|
Loading…
Reference in New Issue
Block a user