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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
8ef5b59d
Commit
8ef5b59d
authored
Apr 28, 2011
by
Georgi Kodinov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backport of (part of) bug #11760838 to 5.5.
Enabled the ABI check to run on MacOSX.
parent
6f3e3bb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
cmake/abi_check.cmake
cmake/abi_check.cmake
+10
-2
No files found.
cmake/abi_check.cmake
View file @
8ef5b59d
...
...
@@ -19,8 +19,16 @@
# plugin_audit.h and plugin_ftparser.h.
#
# We use gcc specific preprocessing command and sed/diff, so it will
# only be run on Unix and only if gcc is used.
IF
(
CMAKE_COMPILER_IS_GNUCC AND CMAKE_SYSTEM_NAME MATCHES
"Linux"
)
# only be run on Unix and only if gcc is used. On some Unixes,
# (Solaris) sed or diff might act differently from GNU, so we run only
# on systems we can trust.
IF
(
APPLE OR CMAKE_SYSTEM_NAME MATCHES
"Linux"
)
SET
(
RUN_ABI_CHECK 1
)
ELSE
()
SET
(
RUN_ABI_CHECK 0
)
ENDIF
()
IF
(
CMAKE_COMPILER_IS_GNUCC AND RUN_ABI_CHECK
)
IF
(
CMAKE_C_COMPILER MATCHES
"ccache$"
)
SET
(
COMPILER
${
CMAKE_C_COMPILER_ARG1
}
)
STRING
(
REGEX REPLACE
"^ "
""
COMPILER
${
COMPILER
}
)
...
...
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