Commit fa5519f4 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul Committed by Yoni Fogel

Turn off fortify, since it doesn't work for -O0. Refs #5926.

git-svn-id: file:///svn/toku/tokudb@54709 c7de825b-a66e-492c-adef-691d508d4ae1
parent 73b86e51
......@@ -25,7 +25,9 @@ endif ()
## add TOKU_PTHREAD_DEBUG for debug builds
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_DEBUG TOKU_PTHREAD_DEBUG=1)
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_RELWITHDEBINFO TOKU_PTHREAD_DEBUG=1)
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_RELWITHDEBINFO _FORTIFY_SOURCE=2)
## fortify doesn't work with -O0, so we are deprecating it for now. Sometime we should turn on
## fortify for -O1 builds, but we don't want it on the release builds.
## #set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_RELWITHDEBINFO _FORTIFY_SOURCE=2)
## coverage
option(USE_GCOV "Use gcov for test coverage." OFF)
......
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