summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-07-04 18:21:47 +0200
committerSergei Golubchik <serg@mariadb.org>2018-08-12 11:37:43 +0200
commit675e7e7dcc89d3b39e96e862c3f69378668584d9 (patch)
tree998a41a66b0541905a233303b23da312eb88bf8e /plugin
parent889d8a8f2beb330df27f2b1cf27ea0375dc4444c (diff)
downloadmariadb-git-675e7e7dcc89d3b39e96e862c3f69378668584d9.tar.gz
remove obsolete checks for -fno-implicit-templates
we stopped using -fno-implicit-templates many years ago
Diffstat (limited to 'plugin')
-rw-r--r--plugin/handler_socket/CMakeLists.txt9
1 files changed, 1 insertions, 8 deletions
diff --git a/plugin/handler_socket/CMakeLists.txt b/plugin/handler_socket/CMakeLists.txt
index bd656ebc5b7..9e4707a83fe 100644
--- a/plugin/handler_socket/CMakeLists.txt
+++ b/plugin/handler_socket/CMakeLists.txt
@@ -5,14 +5,7 @@ IF(WIN32)
RETURN()
ENDIF()
-#Remove -fno-implicit-templates from compiler flags(handlersocket would not work with it)
-STRING(REPLACE "-fno-implicit-templates" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
-
-include(CheckCXXCompilerFlag)
-check_cxx_compiler_flag(" -Wdeprecated-declarations" HAVE_CXX_WDEPRECATED_DECLARATIONS)
-IF (HAVE_CXX_WDEPRECATED_DECLARATIONS)
- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations")
-ENDIF()
+MY_CHECK_AND_SET_COMPILER_FLAG("-Wdeprecated-declarations")
INCLUDE_DIRECTORIES(libhsclient)