mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 03:51:50 +01:00
reversing accidental merge
git-svn-id: file:///svn/toku/tokudb@48327 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
9ac4390564
commit
18f4a7e559
1 changed files with 2 additions and 13 deletions
|
@ -10,18 +10,13 @@ endif ()
|
|||
|
||||
## preprocessor definitions we want everywhere
|
||||
add_c_defines(
|
||||
_SVID_SOURCE
|
||||
_XOPEN_SOURCE=600
|
||||
_FILE_OFFSET_BITS=64
|
||||
_LARGEFILE64_SOURCE
|
||||
__STDC_FORMAT_MACROS
|
||||
__STDC_LIMIT_MACROS
|
||||
__LONG_LONG_SUPPORTED
|
||||
)
|
||||
if (NOT CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
|
||||
add_c_defines(
|
||||
_SVID_SOURCE
|
||||
_XOPEN_SOURCE=600
|
||||
)
|
||||
endif ()
|
||||
|
||||
## add TOKU_PTHREAD_DEBUG for debug builds
|
||||
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_DEBUG TOKU_PTHREAD_DEBUG)
|
||||
|
@ -97,12 +92,6 @@ if (NOT CMAKE_CXX_COMPILER_ID MATCHES Clang)
|
|||
)
|
||||
endif ()
|
||||
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
|
||||
set_cflags_if_supported(
|
||||
-Wno-error=unused-but-set-variable
|
||||
)
|
||||
endif ()
|
||||
|
||||
## this hits with optimized builds somewhere in ftleaf_split, we don't
|
||||
## know why but we don't think it's a big deal
|
||||
set_ldflags_if_supported(
|
||||
|
|
Loading…
Add table
Reference in a new issue