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
7f3f85e7
Commit
7f3f85e7
authored
May 01, 2013
by
Leif Walsh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disable -fimplicit-templates on clang #6
parent
f7d75e9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
cmake_modules/TokuSetupCompiler.cmake
cmake_modules/TokuSetupCompiler.cmake
+7
-6
No files found.
cmake_modules/TokuSetupCompiler.cmake
View file @
7f3f85e7
...
...
@@ -92,14 +92,15 @@ set_cflags_if_supported(
)
## set_cflags_if_supported_named("-Weffc++" -Weffcpp)
# must append this because mysql sets -fno-implicit-templates and we need to override it
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
()
## Clang has stricter POD checks. So, only enable this warning on our other builds (Linux + GCC)
if
(
NOT CMAKE_CXX_COMPILER_ID MATCHES Clang
)
# 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
()
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