Skip to content

Commit

Permalink
MDEV-13656 10.3 does not build on CentOS 5 x86
Browse files Browse the repository at this point in the history
followup for 62139dc
  • Loading branch information
vuvova committed Sep 1, 2017
1 parent 016c35a commit 0015cbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configure.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0015cbb

Please sign in to comment.