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
952e4067
Commit
952e4067
authored
Oct 31, 2011
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
On linux we build with defined _GNU_SOURCE.
We must perform system tests with _GNU_SOURCE too!
parent
3794110f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
cmake/os/Linux.cmake
cmake/os/Linux.cmake
+1
-0
No files found.
cmake/os/Linux.cmake
View file @
952e4067
...
@@ -22,6 +22,7 @@ INCLUDE(CheckSymbolExists)
...
@@ -22,6 +22,7 @@ INCLUDE(CheckSymbolExists)
SET
(
TARGET_OS_LINUX 1
)
SET
(
TARGET_OS_LINUX 1
)
SET
(
HAVE_NPTL 1
)
SET
(
HAVE_NPTL 1
)
SET
(
_GNU_SOURCE 1
)
SET
(
_GNU_SOURCE 1
)
SET
(
CMAKE_REQUIRED_DEFINITIONS
${
CMAKE_REQUIRED_DEFINITIONS
}
-D_GNU_SOURCE=1
)
# Fix CMake (< 2.8) flags. -rdynamic exports too many symbols.
# Fix CMake (< 2.8) flags. -rdynamic exports too many symbols.
FOREACH
(
LANG C CXX
)
FOREACH
(
LANG C CXX
)
...
...
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