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
85194bd6
Commit
85194bd6
authored
6 years ago
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix detection of "-Wa,-nH" compiler flags on SunOS/i386
parent
e7cbb2af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
storage/innobase/innodb.cmake
storage/innobase/innodb.cmake
+4
-3
No files found.
storage/innobase/innodb.cmake
View file @
85194bd6
...
...
@@ -33,6 +33,8 @@ MYSQL_CHECK_BZIP2()
MYSQL_CHECK_SNAPPY
()
MYSQL_CHECK_NUMA
()
INCLUDE
(
${
MYSQL_CMAKE_SCRIPT_DIR
}
/compile_flags.cmake
)
IF
(
CMAKE_CROSSCOMPILING
)
# Use CHECK_C_SOURCE_COMPILES instead of CHECK_C_SOURCE_RUNS when
# cross-compiling. Not as precise, but usually good enough.
...
...
@@ -241,9 +243,8 @@ ENDIF()
# Avoid generating Hardware Capabilities due to crc32 instructions
IF
(
CMAKE_SYSTEM_NAME MATCHES
"SunOS"
AND CMAKE_SYSTEM_PROCESSOR MATCHES
"i386"
)
INCLUDE
(
${
MYSQL_CMAKE_SCRIPT_DIR
}
/compile_flags.cmake
)
MY_CHECK_CXX_COMPILER_FLAG
(
"-Wa,-nH"
HAVE_WA_NH
)
IF
(
HAVE_WA_NH
)
MY_CHECK_CXX_COMPILER_FLAG
(
"-Wa,-nH"
)
IF
(
have_CXX__Wa__nH
)
ADD_COMPILE_FLAGS
(
ut/ut0crc32.cc
COMPILE_FLAGS
"-Wa,-nH"
...
...
This diff is collapsed.
Click to expand it.
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