Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
150f2385
Commit
150f2385
authored
Feb 20, 2012
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Workaround buggy Linux dtrace - it fails on fedora if CC is set to 'ccache gcc'
parent
0d0e68da
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
cmake/dtrace.cmake
cmake/dtrace.cmake
+7
-1
No files found.
cmake/dtrace.cmake
View file @
150f2385
...
...
@@ -34,9 +34,15 @@ MACRO(CHECK_DTRACE)
FIND_PROGRAM
(
DTRACE dtrace
)
MARK_AS_ADVANCED
(
DTRACE
)
IF
(
CMAKE_C_COMPILER MATCHES
"ccache"
AND CMAKE_SYSTEM_NAME MATCHES
"Linux"
)
# dtrace fails on fedora if CC='ccache gcc' is used
SET
(
BUGGY_LINUX_DTRACE 1
)
ENDIF
()
# On FreeBSD, dtrace does not handle userland tracing yet
IF
(
DTRACE AND NOT CMAKE_SYSTEM_NAME MATCHES
"FreeBSD"
AND NOT BUGGY_GCC_NO_DTRACE_MODULES
)
AND NOT BUGGY_GCC_NO_DTRACE_MODULES
AND NOT BUGGY_LINUX_DTRACE
)
SET
(
ENABLE_DTRACE ON CACHE BOOL
"Enable dtrace"
)
ENDIF
()
SET
(
HAVE_DTRACE
${
ENABLE_DTRACE
}
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment