optimisation: use Og instead of O0 by default
O0 is hellishly slow, this is every so slightly less so.
This commit is contained in:
parent
a1d3200fde
commit
8a83b07ea0
@ -137,7 +137,7 @@ if (CMAKE_BUILD_TYPE MATCHES Debug)
|
||||
add_definitions(-DENABLE_DEBUGGING)
|
||||
add_definitions(-D_GLIBCXX_DEBUG)
|
||||
|
||||
append_compile_flag(-O0)
|
||||
append_compile_flag(-Og)
|
||||
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