optimisation: switch back to Og for debugging
O0 is catastrophically slow for some of our projects. Don't unconditionally use O0.
This commit is contained in:
parent
1bde0634b4
commit
630aa5de08
@ -131,8 +131,8 @@ if (CMAKE_BUILD_TYPE MATCHES Debug)
|
||||
add_definitions(-DENABLE_DEBUGGING)
|
||||
add_definitions(-D_GLIBCXX_DEBUG)
|
||||
|
||||
#append_compile_flag(-Og)
|
||||
append_compile_flag(-O0)
|
||||
append_compile_flag(-Og)
|
||||
#append_compile_flag(-O0)
|
||||
append_compile_flag(-Werror)
|
||||
# this was protected for xmingw32, find out why
|
||||
append_compile_flag(-fstack-protector)
|
||||
|
Loading…
Reference in New Issue
Block a user