1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-30 05:23:50 +03:00
Files
mariadb/cmake
Sergei Golubchik 66fd45afce MDEV-7398 mysqld segfaults on FreeBSD 10.1 i386 when built with clang 3.4
in cmake tests let's treat clang like gcc (same options,
same builtins) in many cases.

* don't check the compiler when
  * testing for -fvisibility=hidden support
  * testing for HAVE_ABI_CXA_DEMANGLE
  * testing for HAVE_GCC_ATOMIC_BUILTINS
  * when removing options with string(replace)
  * when running ${CC} --version (ignore the error instead)
* run ABI checks for clang
* use "canonical" gcc flags for clang
* fix groonga too

Also:

* add cmake detection for gcc __atomic_* builtins. they might be
  supported (__ATOMIC_SEQ_CST is defined), but not for all operand
  sizes. In particular, 64-bit atomic load is problematic on i386
* cache check results for Windows
* remove the test for HAVE_CXXABI_H (HAVE_ABI_CXA_DEMANGLE is
  suffifient)
2015-06-16 23:58:21 +02:00
..
2015-01-21 12:03:02 +01:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2013-07-21 16:39:19 +02:00
2014-02-19 21:40:20 +01:00
2013-03-26 00:03:13 +02:00
2013-06-06 21:32:29 +02:00
2011-07-16 09:09:01 +02:00
2014-08-02 21:26:16 +02:00
2014-08-02 21:26:16 +02:00
2014-09-18 21:54:45 +02:00
2015-06-02 22:07:47 +02:00
2014-05-09 12:35:11 +02:00
2013-07-16 19:09:54 +02:00
2015-02-18 15:16:27 +01:00
2015-06-02 22:07:47 +02:00
2014-02-26 15:28:07 +01:00