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
1d6c3de9
Commit
1d6c3de9
authored
Sep 17, 2013
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refs #64 fix clang on linux problems
parent
9f5501a3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
cmake_modules/TokuSetupCompiler.cmake
cmake_modules/TokuSetupCompiler.cmake
+2
-1
No files found.
cmake_modules/TokuSetupCompiler.cmake
View file @
1d6c3de9
...
@@ -87,6 +87,7 @@ set_cflags_if_supported(
...
@@ -87,6 +87,7 @@ set_cflags_if_supported(
-Wmissing-format-attribute
-Wmissing-format-attribute
-Wno-error=missing-format-attribute
-Wno-error=missing-format-attribute
-Wno-error=address-of-array-temporary
-Wno-error=address-of-array-temporary
-Wno-error=tautological-constant-out-of-range-compare
-fno-rtti
-fno-rtti
-fno-exceptions
-fno-exceptions
)
)
...
@@ -128,7 +129,7 @@ set(CMAKE_CXX_FLAGS_DRD "-g3 -O1 ${CMAKE_CXX_FLAGS_DRD}")
...
@@ -128,7 +129,7 @@ set(CMAKE_CXX_FLAGS_DRD "-g3 -O1 ${CMAKE_CXX_FLAGS_DRD}")
## set extra release flags
## set extra release flags
## need to set flags for RelWithDebInfo as well because we want the MySQL/MariaDB builds to use them
## need to set flags for RelWithDebInfo as well because we want the MySQL/MariaDB builds to use them
if
(
APPLE AND
CMAKE_CXX_COMPILER_ID STREQUAL Clang
)
if
(
CMAKE_CXX_COMPILER_ID STREQUAL Clang
)
# have tried -flto and -O4, both make our statically linked executables break apple's linker
# have tried -flto and -O4, both make our statically linked executables break apple's linker
set
(
CMAKE_C_FLAGS_RELWITHDEBINFO
"
${
CMAKE_C_FLAGS_RELWITHDEBINFO
}
-g -O3 -UNDEBUG"
)
set
(
CMAKE_C_FLAGS_RELWITHDEBINFO
"
${
CMAKE_C_FLAGS_RELWITHDEBINFO
}
-g -O3 -UNDEBUG"
)
set
(
CMAKE_CXX_FLAGS_RELWITHDEBINFO
"
${
CMAKE_CXX_FLAGS_RELWITHDEBINFO
}
-g -O3 -UNDEBUG"
)
set
(
CMAKE_CXX_FLAGS_RELWITHDEBINFO
"
${
CMAKE_CXX_FLAGS_RELWITHDEBINFO
}
-g -O3 -UNDEBUG"
)
...
...
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