Commit fbd6b23e authored by Jonathan Perkin's avatar Jonathan Perkin

bug#58766: Server binary was compiled without fast-mutexes

Re-enable fast mutexes on Linux for release builds.
parent c9d484f5
...@@ -117,8 +117,8 @@ IF(UNIX) ...@@ -117,8 +117,8 @@ IF(UNIX)
OPTION(WITH_PIC "" ON) # Why? OPTION(WITH_PIC "" ON) # Why?
# Ensure aio is available on Linux (required by InnoDB)
IF(CMAKE_SYSTEM_NAME STREQUAL "Linux") IF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
# Ensure aio is available on Linux (required by InnoDB)
CHECK_INCLUDE_FILES(libaio.h HAVE_LIBAIO_H) CHECK_INCLUDE_FILES(libaio.h HAVE_LIBAIO_H)
CHECK_LIBRARY_EXISTS(aio io_queue_init "" HAVE_LIBAIO) CHECK_LIBRARY_EXISTS(aio io_queue_init "" HAVE_LIBAIO)
IF(NOT HAVE_LIBAIO_H OR NOT HAVE_LIBAIO) IF(NOT HAVE_LIBAIO_H OR NOT HAVE_LIBAIO)
...@@ -130,6 +130,9 @@ IF(UNIX) ...@@ -130,6 +130,9 @@ IF(UNIX)
SuSE: zypper install libaio-devel SuSE: zypper install libaio-devel
") ")
ENDIF() ENDIF()
# Enable fast mutexes on Linux
OPTION(WITH_FAST_MUTEXES "" ON)
ENDIF() ENDIF()
ENDIF() ENDIF()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment