summaryrefslogtreecommitdiff
path: root/configure.cmake
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2019-05-09 19:12:34 +0200
committerSergei Golubchik <serg@mariadb.org>2019-05-18 20:34:03 +0200
commit2400e06946bb5856684fd27ee86f610267bf4dc3 (patch)
treed27f225a2e102674c5b3cc4487a6f861154c4ca8 /configure.cmake
parent2c08436959dc0b0a6a4a58f18114dd9987151396 (diff)
downloadmariadb-git-2400e06946bb5856684fd27ee86f610267bf4dc3.tar.gz
remove -fno-rtti
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake5
1 files changed, 0 insertions, 5 deletions
diff --git a/configure.cmake b/configure.cmake
index 1404263e5a6..973312c7d2d 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -53,11 +53,6 @@ IF(NOT SYSTEM_TYPE)
ENDIF()
IF(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang" AND (NOT MSVC))
- # MySQL "canonical" GCC flags. At least -fno-rtti flag affects
- # ABI and cannot be simply removed.
- SET(CMAKE_CXX_FLAGS
- "${CMAKE_CXX_FLAGS} -fno-rtti")
-
IF (CMAKE_EXE_LINKER_FLAGS MATCHES " -static "
OR CMAKE_EXE_LINKER_FLAGS MATCHES " -static$")
SET(HAVE_DLOPEN FALSE CACHE "Disable dlopen due to -static flag" FORCE)