Skip to content

Commit a13157a

Browse files
committed
don't enable -Werror in ft-index
1 parent ac2604f commit a13157a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

storage/tokudb/ft-index/cmake_modules/TokuSetupCompiler.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,9 @@ if (NOT CMAKE_CXX_COMPILER_ID STREQUAL Clang)
182182
set_cflags_if_supported(-Wcast-align)
183183
endif ()
184184

185-
## always want these
186-
set(CMAKE_C_FLAGS "-Wall -Werror ${CMAKE_C_FLAGS}")
187-
set(CMAKE_CXX_FLAGS "-Wall -Werror ${CMAKE_CXX_FLAGS}")
185+
## never want these
186+
set(CMAKE_C_FLAGS "-Wno-error ${CMAKE_C_FLAGS}")
187+
set(CMAKE_CXX_FLAGS "-Wno-error ${CMAKE_CXX_FLAGS}")
188188

189189
## need to set -stdlib=libc++ to get real c++11 support on darwin
190190
if (APPLE)

0 commit comments

Comments
 (0)