summaryrefslogtreecommitdiff
path: root/configure.cmake
diff options
context:
space:
mode:
authorJon Olav Hauglid <jon.hauglid@oracle.com>2014-10-13 09:52:28 +0200
committerJon Olav Hauglid <jon.hauglid@oracle.com>2014-10-13 09:52:28 +0200
commit8b64f825058a2439903e9420552641ca6105d9d6 (patch)
tree5e4595b95c1636b3a7f3d889de96da08676d4b19 /configure.cmake
parenta3cc647dbdbdeb0f2e9c9ac55ffe062c659d82dc (diff)
downloadmariadb-git-8b64f825058a2439903e9420552641ca6105d9d6.tar.gz
Bug#17633291: SET PROPER COMPILE OPTIONS FOR CLANG
Bug#17959689: MAKE GCC AND CLANG GIVE CONSISTENT COMPILATION WARNINGS Bug#18313717: ENABLE -WERROR IN MAINTANER MODE WHEN COMPILING WITH CLANG Bug#18510941: REMOVE CMAKE WORKAROUNDS FOR OLDER VERSIONS OF OS X/XCODE Backport from mysql-5.6 to mysql-5.5
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake9
1 files changed, 0 insertions, 9 deletions
diff --git a/configure.cmake b/configure.cmake
index c3ac3a8222f..28974a84c49 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -53,15 +53,6 @@ IF(NOT SYSTEM_TYPE)
ENDIF()
-# Always enable -Wall for gnu C/C++
-IF(CMAKE_COMPILER_IS_GNUCXX)
- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-unused-parameter")
-ENDIF()
-IF(CMAKE_COMPILER_IS_GNUCC)
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
-ENDIF()
-
-
IF(CMAKE_COMPILER_IS_GNUCXX)
# MySQL "canonical" GCC flags. At least -fno-rtti flag affects
# ABI and cannot be simply removed.