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

Refs #5926. Leif made fortify do the right thing, so unding r54709. Leif...

Refs #5926.  Leif made fortify do the right thing, so unding r54709.  Leif says: The RelWithDebInfo target uses -O1 -g, see lines 119 and 120.

git-svn-id: file:///svn/toku/tokudb@54726 c7de825b-a66e-492c-adef-691d508d4ae1
parent fa5519f4
......@@ -25,9 +25,7 @@ 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)
## 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)
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