mirror of
https://github.com/MariaDB/server.git
synced 2026-04-25 01:35:31 +02:00
enable Cygwin build again
This commit is contained in:
parent
99c9c3bcf2
commit
f2d4808fbb
2 changed files with 6 additions and 1 deletions
|
|
@ -30,8 +30,10 @@ MACRO (MYSQL_USE_BUNDLED_SSL)
|
|||
#Remove -fno-implicit-templates
|
||||
#(yassl sources cannot be compiled with it)
|
||||
SET(SAVE_CXX_FLAGS ${CXX_FLAGS})
|
||||
IF(CMAKE_CXX_FLAGS)
|
||||
STRING(REPLACE "-fno-implicit-templates" "" CMAKE_CXX_FLAGS
|
||||
${CMAKE_CXX_FLAGS})
|
||||
ENDIF()
|
||||
ADD_SUBDIRECTORY(extra/yassl)
|
||||
ADD_SUBDIRECTORY(extra/yassl/taocrypt)
|
||||
SET(CXX_FLAGS ${SAVE_CXX_FLAGS})
|
||||
|
|
|
|||
|
|
@ -105,8 +105,11 @@ MYSQL_ADD_EXECUTABLE(mysqld ${MYSQLD_SOURCE})
|
|||
IF(NOT WITHOUT_DYNAMIC_PLUGINS)
|
||||
SET_TARGET_PROPERTIES(mysqld PROPERTIES ENABLE_EXPORTS TRUE)
|
||||
GET_TARGET_PROPERTY(mysqld_link_flags mysqld LINK_FLAGS)
|
||||
IF(NOT mysqld_link_flags)
|
||||
SET(mysqld_link_flags)
|
||||
ENDIF()
|
||||
IF (MINGW OR CYGWIN)
|
||||
SET_TARGET_PROPERTIES(mysqld PROPERTIES LINK_FLAGS "{mysqld_link_flags} -Wl,--export-all-symbols")
|
||||
SET_TARGET_PROPERTIES(mysqld PROPERTIES LINK_FLAGS "${mysqld_link_flags} -Wl,--export-all-symbols")
|
||||
ENDIF()
|
||||
IF(MSVC)
|
||||
# Set module definition file. Also use non-incremental linker,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue