Workaround for https://bugs.mysql.com/bug.php?id=100217 --- a/plugin/innodb_memcached/innodb_memcache/CMakeLists.txt +++ b/plugin/innodb_memcached/innodb_memcache/CMakeLists.txt @@ -38,7 +38,7 @@ STRING(REGEX REPLACE "-Wdeclaration-after-statement" "" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}") ENDIF(CMAKE_C_FLAGS MATCHES "-Werror") -SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_SHARED_LIBRARY_C_FLAGS} -std=gnu99") +SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_SHARED_LIBRARY_C_FLAGS} -std=gnu99 -fcommon") SET(MCD__UTILITITY_SOURCES util-src/config_parser.c