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
fceffcdf
Commit
fceffcdf
authored
Nov 06, 2018
by
Samuel Thibault
Committed by
Sergey Vojtovich
May 21, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add GNU/Hurd cmake configuration
parent
89d71857
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
cmake/os/GNU.cmake
cmake/os/GNU.cmake
+30
-0
No files found.
cmake/os/GNU.cmake
0 → 100644
View file @
fceffcdf
# Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# This file includes GNU/Hurd specific options and quirks, related to system checks
# Something that needs to be set on legacy reasons
SET
(
_GNU_SOURCE 1
)
SET
(
CMAKE_REQUIRED_DEFINITIONS
${
CMAKE_REQUIRED_DEFINITIONS
}
-D_GNU_SOURCE=1
)
# Ensure we have clean build for shared libraries
# without unresolved symbols
# Not supported with AddressSanitizer and ThreadSanitizer
IF
(
NOT WITH_ASAN AND NOT WITH_TSAN
)
SET
(
LINK_FLAG_NO_UNDEFINED
"-Wl,--no-undefined"
)
ENDIF
()
# 64 bit file offset support flag
SET
(
_FILE_OFFSET_BITS 64
)
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