diff options
author | wlad <wlad@localhost.localdomain> | 2017-11-21 21:14:06 +0100 |
---|---|---|
committer | wlad <wlad@localhost.localdomain> | 2017-11-21 21:14:06 +0100 |
commit | b6d72ed44dc76d5f642d67bed68fa8a2fc559b57 (patch) | |
tree | 5ac9ea7a568616ebd34c7d28b5858b3477fec36f /cmake | |
parent | 7c4f859384b2a9a79a57dda3e8c509e5a932a066 (diff) | |
download | mariadb-git-b6d72ed44dc76d5f642d67bed68fa8a2fc559b57.tar.gz |
MDEV-14283 : Fix Solaris 10 build.
- introduce system check for posix_memalign (not available on Solaris 10)
- Disable dtrace probes, to fix weird link errors in mariabackup
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/dtrace.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/dtrace.cmake b/cmake/dtrace.cmake index 3edcdc4c1c5..ec161b01b32 100644 --- a/cmake/dtrace.cmake +++ b/cmake/dtrace.cmake @@ -43,6 +43,7 @@ MACRO(CHECK_DTRACE) IF(DTRACE AND NOT CMAKE_SYSTEM_NAME MATCHES "FreeBSD" AND NOT BUGGY_GCC_NO_DTRACE_MODULES AND NOT BUGGY_LINUX_DTRACE) + AND NOT SYSTEM_NAME MATCHES "SunOS") SET(ENABLE_DTRACE ON CACHE BOOL "Enable dtrace") ENDIF() SET(HAVE_DTRACE ${ENABLE_DTRACE}) |