diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-06-03 09:54:56 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-06-03 09:54:56 +0200 |
commit | 0ffef5d2a72bad8fe0cb72b78e426f4f50a29bf2 (patch) | |
tree | 06b03c0510b4d23b0cf0bffa8d54593028004ebe /cmake | |
parent | 8e7d6652adda0eaa0ce095b5c2258d5be61487fd (diff) | |
download | mariadb-git-0ffef5d2a72bad8fe0cb72b78e426f4f50a29bf2.tar.gz |
MDEV-8052 abi detection incorrect with clang
don't include #include directives into .pp files
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/do_abi_check.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/do_abi_check.cmake b/cmake/do_abi_check.cmake index c831aaf8b52..c0ffce353f3 100644 --- a/cmake/do_abi_check.cmake +++ b/cmake/do_abi_check.cmake @@ -58,7 +58,7 @@ FOREACH(file ${ABI_HEADERS}) EXECUTE_PROCESS( COMMAND ${COMPILER} - -E -nostdinc -dI -DMYSQL_ABI_CHECK -I${SOURCE_DIR}/include + -E -nostdinc -DMYSQL_ABI_CHECK -I${SOURCE_DIR}/include -I${BINARY_DIR}/include -I${SOURCE_DIR}/include/mysql -I${SOURCE_DIR}/sql ${file} ERROR_QUIET OUTPUT_FILE ${tmpfile}) |