summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2020-04-27 15:50:51 +0200
committerSergei Golubchik <serg@mariadb.org>2020-04-29 14:08:54 +0200
commita13157a561d960604c0c8cfd23b79783cfe76861 (patch)
treea6d7f17c287aa08e4dbac3dac0d04279179bae1e
parentac2604f923f5bd81920c5edd2c572a88778026dc (diff)
downloadmariadb-git-a13157a561d960604c0c8cfd23b79783cfe76861.tar.gz
don't enable -Werror in ft-index
-rw-r--r--storage/tokudb/ft-index/cmake_modules/TokuSetupCompiler.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/tokudb/ft-index/cmake_modules/TokuSetupCompiler.cmake b/storage/tokudb/ft-index/cmake_modules/TokuSetupCompiler.cmake
index fe99c9167d3..f2a43a6077d 100644
--- a/storage/tokudb/ft-index/cmake_modules/TokuSetupCompiler.cmake
+++ b/storage/tokudb/ft-index/cmake_modules/TokuSetupCompiler.cmake
@@ -182,9 +182,9 @@ if (NOT CMAKE_CXX_COMPILER_ID STREQUAL Clang)
set_cflags_if_supported(-Wcast-align)
endif ()
-## always want these
-set(CMAKE_C_FLAGS "-Wall -Werror ${CMAKE_C_FLAGS}")
-set(CMAKE_CXX_FLAGS "-Wall -Werror ${CMAKE_CXX_FLAGS}")
+## never want these
+set(CMAKE_C_FLAGS "-Wno-error ${CMAKE_C_FLAGS}")
+set(CMAKE_CXX_FLAGS "-Wno-error ${CMAKE_CXX_FLAGS}")
## need to set -stdlib=libc++ to get real c++11 support on darwin
if (APPLE)