MDEV-13656 10.3 does not build on CentOS 5 x86

followup for 62139dc2e2
This commit is contained in:
Sergei Golubchik
2017-08-29 13:16:47 +02:00
parent 016c35a7f2
commit 0015cbb755

View File

@ -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)