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:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user