summaryrefslogtreecommitdiff
path: root/configure.cmake
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2012-12-17 10:56:26 +0100
committerSergei Golubchik <sergii@pisem.net>2012-12-17 10:56:26 +0100
commita058974440f7df7832f4bb9bf5d2783ca040fa66 (patch)
treed94290683a230f3829d8fc230729c948003b4c57 /configure.cmake
parentcd0970c4808b80f33516e9e47e0bb62dae1e6bd5 (diff)
downloadmariadb-git-a058974440f7df7832f4bb9bf5d2783ca040fa66.tar.gz
remove HAVE_EXPLICIT_TEMPLATE_INSTANTIATION
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake10
1 files changed, 1 insertions, 9 deletions
diff --git a/configure.cmake b/configure.cmake
index 5d44e0677d2..bb9b4f9e7e8 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -66,15 +66,7 @@ ENDIF()
IF(CMAKE_COMPILER_IS_GNUCXX)
# MySQL "canonical" GCC flags. At least -fno-rtti flag affects
# ABI and cannot be simply removed.
- SET(CMAKE_CXX_FLAGS
- "${CMAKE_CXX_FLAGS} -fno-implicit-templates -fno-exceptions -fno-rtti")
- IF(CMAKE_CXX_FLAGS)
- STRING(REGEX MATCH "fno-implicit-templates" NO_IMPLICIT_TEMPLATES
- ${CMAKE_CXX_FLAGS})
- IF (NO_IMPLICIT_TEMPLATES)
- SET(HAVE_EXPLICIT_TEMPLATE_INSTANTIATION TRUE)
- ENDIF()
- ENDIF()
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions -fno-rtti")
IF (CMAKE_EXE_LINKER_FLAGS MATCHES " -static "
OR CMAKE_EXE_LINKER_FLAGS MATCHES " -static$")