summaryrefslogtreecommitdiff
path: root/configure.cmake
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2017-08-29 13:16:47 +0200
committerSergei Golubchik <serg@mariadb.org>2017-09-01 19:49:48 +0200
commit0015cbb75564619a3432fdd238128dc5bbda8aff (patch)
treeb1c03736a9d3a685cf3504e3be85237102160ed8 /configure.cmake
parent016c35a7f2f4a288542f5fcb0e182c05238398e6 (diff)
downloadmariadb-git-0015cbb75564619a3432fdd238128dc5bbda8aff.tar.gz
MDEV-13656 10.3 does not build on CentOS 5 x86
followup for 62139dc2e27
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.cmake b/configure.cmake
index 079e0c1540c..40cde3fda45 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -70,7 +70,8 @@ IF(CMAKE_SYSTEM_PROCESSOR STREQUAL "i686" AND CMAKE_COMPILER_IS_GNUCC AND
CMAKE_C_COMPILER_VERSION VERSION_LESS "4.4.0")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=i686")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=i686")
- SET(PLUGIN_QUERY_RESPONSE_TIME NO) # "error: unable to find a register to spill"
+ # query_response_time.cc causes "error: unable to find a register to spill"
+ SET(PLUGIN_QUERY_RESPONSE_TIME NO CACHE BOOL "Disabled, gcc is too old")
ENDIF()
IF(WITHOUT_DYNAMIC_PLUGINS)