--- mariadb-10.2.11/storage/tokudb/CMakeLists.txt 2017-11-27 04:09:16.000000000 -0600 +++ mariadb-10.2.10/storage/tokudb/CMakeLists.txt 2017-10-30 03:10:47.000000000 -0500 @@ -4,13 +4,11 @@ MESSAGE(STATUS "CMake 2.8.9 or higher is required by TokuDB") ELSEIF(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "amd64") -# tokudb requires F_NOCACHE, O_DIRECT, and designated initializers CHECK_CXX_SOURCE_COMPILES( " -#include struct a {int b; int c; }; struct a d = { .b=1, .c=2 }; -int main() { return F_NOCACHE + O_DIRECT; } +int main() { return 0; } " TOKUDB_OK) ENDIF()