summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorwlad <wlad@localhost.localdomain>2017-11-21 21:14:06 +0100
committerwlad <wlad@localhost.localdomain>2017-11-21 21:14:06 +0100
commitb6d72ed44dc76d5f642d67bed68fa8a2fc559b57 (patch)
tree5ac9ea7a568616ebd34c7d28b5858b3477fec36f /cmake
parent7c4f859384b2a9a79a57dda3e8c509e5a932a066 (diff)
downloadmariadb-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.cmake1
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})