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
48fe8326
Commit
48fe8326
authored
Aug 15, 2017
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '10.0' into 10.1
parents
3e20a42b
7581fb23
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
storage/innobase/CMakeLists.txt
storage/innobase/CMakeLists.txt
+2
-2
storage/xtradb/CMakeLists.txt
storage/xtradb/CMakeLists.txt
+2
-2
No files found.
storage/innobase/CMakeLists.txt
View file @
48fe8326
...
...
@@ -86,9 +86,9 @@ CHECK_FUNCTION_EXISTS(sched_getcpu HAVE_SCHED_GETCPU)
IF
(
NOT MSVC
)
# either define HAVE_IB_GCC_ATOMIC_BUILTINS or not
# workaround for
gcc 4.1.2 RHEL5/
x86, gcc atomic ops only work under -march=i686
# workaround for
old gcc on
x86, gcc atomic ops only work under -march=i686
IF
(
CMAKE_SYSTEM_PROCESSOR STREQUAL
"i686"
AND CMAKE_COMPILER_IS_GNUCC AND
CMAKE_C_COMPILER_VERSION VERSION_LESS
"4.
1.3
"
)
CMAKE_C_COMPILER_VERSION VERSION_LESS
"4.
4.0
"
)
SET
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
-march=i686"
)
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-march=i686"
)
ENDIF
()
...
...
storage/xtradb/CMakeLists.txt
View file @
48fe8326
...
...
@@ -94,9 +94,9 @@ CHECK_FUNCTION_EXISTS(sched_getcpu HAVE_SCHED_GETCPU)
IF
(
NOT MSVC
)
# either define HAVE_IB_GCC_ATOMIC_BUILTINS or not
# workaround for
gcc 4.1.2 RHEL5/
x86, gcc atomic ops only work under -march=i686
# workaround for
old gcc on
x86, gcc atomic ops only work under -march=i686
IF
(
CMAKE_SYSTEM_PROCESSOR STREQUAL
"i686"
AND CMAKE_COMPILER_IS_GNUCC AND
CMAKE_C_COMPILER_VERSION VERSION_LESS
"4.
1.3
"
)
CMAKE_C_COMPILER_VERSION VERSION_LESS
"4.
4.0
"
)
SET
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
-march=i686"
)
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-march=i686"
)
ENDIF
()
...
...
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