summaryrefslogtreecommitdiff
path: root/cmake/abi_check.cmake
diff options
context:
space:
mode:
authorDavi Arnaut <davi.arnaut@oracle.com>2010-07-20 16:53:39 -0300
committerDavi Arnaut <davi.arnaut@oracle.com>2010-07-20 16:53:39 -0300
commit3ff34a4a325b675b12d3ef12c0fa907c5ad670d1 (patch)
tree6c4ed955e3681ba52cf34ec5d1e37ec4f3c3ed2e /cmake/abi_check.cmake
parent5b19c1593f2fce7c6e912b176f3b8ff34b61c280 (diff)
downloadmariadb-git-3ff34a4a325b675b12d3ef12c0fa907c5ad670d1.tar.gz
Bug#52514: mysql 5.1 do_abi_check does not compile w/ gcc4.5
due to GCC preprocessor change Addendum for trunk: add -DMYSQL_ABI_CHECK to the cmake ABI check.
Diffstat (limited to 'cmake/abi_check.cmake')
-rw-r--r--cmake/abi_check.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/abi_check.cmake b/cmake/abi_check.cmake
index 0d5bf21f540..7911b7848a8 100644
--- a/cmake/abi_check.cmake
+++ b/cmake/abi_check.cmake
@@ -38,7 +38,7 @@ IF(CMAKE_COMPILER_IS_GNUCC AND CMAKE_SYSTEM_NAME MATCHES "Linux")
-DCOMPILER=${COMPILER}
-DSOURCE_DIR=${CMAKE_SOURCE_DIR}
-DBINARY_DIR=${CMAKE_BINARY_DIR}
- "-DABI_HEADERS=${API_PREPROCESSOR_HEADER}"
+ "-DDMYSQL_ABI_CHECK -DABI_HEADERS=${API_PREPROCESSOR_HEADER}"
-P ${CMAKE_SOURCE_DIR}/cmake/do_abi_check.cmake
VERBATIM
)
@@ -48,7 +48,7 @@ IF(CMAKE_COMPILER_IS_GNUCC AND CMAKE_SYSTEM_NAME MATCHES "Linux")
-DCMAKE_C_COMPILER=${COMPILER}
-DCMAKE_SOURCE_DIR=${CMAKE_SOURCE_DIR}
-DCMAKE_BINARY_DIR=${CMAKE_BINARY_DIR}
- "-DABI_HEADERS=${API_PREPROCESSOR_HEADER}"
+ "-DMYSQL_ABI_CHECK -DABI_HEADERS=${API_PREPROCESSOR_HEADER}"
-P ${CMAKE_SOURCE_DIR}/cmake/scripts/do_abi_check.cmake
VERBATIM
)