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
0f1516ef
Commit
0f1516ef
authored
May 03, 2013
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:Tokutek/ft-index
parents
315d346c
67a6af94
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
cmake_modules/TokuFeatureDetection.cmake
cmake_modules/TokuFeatureDetection.cmake
+2
-0
cmake_modules/TokuSetupCompiler.cmake
cmake_modules/TokuSetupCompiler.cmake
+4
-3
No files found.
cmake_modules/TokuFeatureDetection.cmake
View file @
0f1516ef
...
...
@@ -74,6 +74,8 @@ check_function_exists(nrand48 HAVE_NRAND48)
check_function_exists
(
random_r HAVE_RANDOM_R
)
check_function_exists
(
mincore HAVE_MINCORE
)
## clear this out in case mysql modified it
set
(
CMAKE_REQUIRED_LIBRARIES
""
)
set
(
EXTRA_SYSTEM_LIBS
""
)
check_function_exists
(
dlsym HAVE_DLSYM_WITHOUT_DL
)
if
(
NOT HAVE_DLSYM_WITHOUT_DL
)
...
...
cmake_modules/TokuSetupCompiler.cmake
View file @
0f1516ef
...
...
@@ -92,15 +92,16 @@ set_cflags_if_supported(
)
## set_cflags_if_supported_named("-Weffc++" -Weffcpp)
## Clang has stricter POD checks. So, only enable this warning on our other builds (Linux + GCC)
if
(
NOT CMAKE_CXX_COMPILER_ID MATCHES Clang
)
if
(
CMAKE_CXX_FLAGS MATCHES -fno-implicit-templates
)
# must append this because mysql sets -fno-implicit-templates and we need to override it
# also clang doesn't support it on osx but also doesn't seem to know that
check_cxx_compiler_flag
(
-fimplicit-templates HAVE_CXX_-fimplicit-templates
)
if
(
HAVE_CXX_-fimplicit-templates
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-fimplicit-templates"
)
endif
()
endif
()
## Clang has stricter POD checks. So, only enable this warning on our other builds (Linux + GCC)
if
(
NOT CMAKE_CXX_COMPILER_ID MATCHES Clang
)
set_cflags_if_supported
(
-Wpacked
)
...
...
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