Commit c1924af6 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5672 switch around flags so we can override -O0 in debug builds (maybe speed up drd?)


git-svn-id: file:///svn/toku/tokudb@51009 c7de825b-a66e-492c-adef-691d508d4ae1
parent 0b1b7bd3
...@@ -106,8 +106,8 @@ set_ldflags_if_supported( ...@@ -106,8 +106,8 @@ set_ldflags_if_supported(
) )
## set extra debugging flags and preprocessor definitions ## set extra debugging flags and preprocessor definitions
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -g3 -O0") set(CMAKE_C_FLAGS_DEBUG "-g3 -O0 ${CMAKE_C_FLAGS_DEBUG}")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g3 -O0") set(CMAKE_CXX_FLAGS_DEBUG "-g3 -O0 ${CMAKE_CXX_FLAGS_DEBUG}")
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_DEBUG _FORTIFY_SOURCE=2) set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_DEBUG _FORTIFY_SOURCE=2)
## set extra release flags ## set extra release flags
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment