summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/build_configurations/mysql_release.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/cmake/build_configurations/mysql_release.cmake b/cmake/build_configurations/mysql_release.cmake
index 26c0cf16df0..d844f436031 100644
--- a/cmake/build_configurations/mysql_release.cmake
+++ b/cmake/build_configurations/mysql_release.cmake
@@ -104,6 +104,16 @@ ELSEIF(RPM)
SET(CHECKMODULE /usr/bin/checkmodule CACHE FILEPATH "")
SET(SEMODULE_PACKAGE /usr/bin/semodule_package CACHE FILEPATH "")
SET(WITH_JEMALLOC "yes" CACHE STRING "")
+ IF(RPM MATCHES "fedora|centos|rhel")
+ SET(WITH_INNODB_BZIP2 OFF CACHE STRING "")
+ SET(WITH_INNODB_LZO OFF CACHE STRING "")
+ SET(WITH_ROCKSDB_BZip2 OFF CACHE STRING "")
+ ENDIF()
+ IF(RPM MATCHES "opensuse|sles|centos|rhel")
+ SET(WITH_INNODB_LZ4 OFF CACHE STRING "")
+ SET(WITH_ROCKSDB_LZ4 OFF CACHE STRING "")
+ SET(GRN_WITH_LZ4 no CACHE STRING "")
+ ENDIF()
ELSEIF(DEB)
SET(WITH_SSL system CACHE STRING "")
SET(WITH_ZLIB system CACHE STRING "")