1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

remove obsolete checks for -fno-implicit-templates

we stopped using -fno-implicit-templates many years ago
This commit is contained in:
Sergei Golubchik
2018-07-04 18:21:47 +02:00
parent 889d8a8f2b
commit 675e7e7dcc
6 changed files with 1 additions and 22 deletions

View File

@ -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)