diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-05-07 18:28:36 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-05-07 18:28:36 +0200 |
commit | 009dee833c94ebcf7199514f32baf3f4530d92f0 (patch) | |
tree | 9ce2c0e26aca30949e28011c996839f8837cbfa1 /cmake | |
parent | e0a08c567a028db406ebf69ece8b3210cba2af0c (diff) | |
download | mariadb-git-009dee833c94ebcf7199514f32baf3f4530d92f0.tar.gz |
centos5 gcc 4.1 asm bug
include/atomic/x86-gcc.h:
force %esi register, don't give gcc a choice.
(otherwise it could choose %ebx, and 4.1 did)
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/os/Linux.cmake | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/cmake/os/Linux.cmake b/cmake/os/Linux.cmake index 108e06cf7b0..36d7ade66a7 100644 --- a/cmake/os/Linux.cmake +++ b/cmake/os/Linux.cmake @@ -47,9 +47,3 @@ IF(HAVE_DECL_SHM_HUGETLB) SET(HAVE_LARGE_PAGE_OPTION 1) ENDIF() -IF(CMAKE_SIZEOF_VOID_P EQUAL 4 AND CMAKE_SYSTEM_PROCESSOR MATCHES "86") - SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=i686") - SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=i686") - SET(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -march=i686") -ENDIF() - |