mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 11:31:51 +01:00
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
This commit is contained in:
parent
73b86e51c4
commit
fa5519f465
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue