summaryrefslogtreecommitdiff
blob: c2c157348f30ca8b91c5dfbb50cb0165de937689 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/cmake/maintainer.cmake
+++ b/cmake/maintainer.cmake
@@ -207,12 +207,6 @@ IF(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
   # -Wzero-as-null-pointer-constant
 ENDIF()
 
-# Turn on Werror (warning => error) when using maintainer mode.
-IF(MYSQL_MAINTAINER_MODE)
-  STRING_APPEND(MY_C_WARNING_FLAGS   " -Werror")
-  STRING_APPEND(MY_CXX_WARNING_FLAGS " -Werror")
-ENDIF()
-
 # Set warning flags for gcc/g++/clang/clang++
 IF(MY_COMPILER_IS_GNU_OR_CLANG)
   STRING_APPEND(CMAKE_C_FLAGS " ${MY_C_WARNING_FLAGS}")