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
1d7fc728
Commit
1d7fc728
authored
Sep 11, 2020
by
Etienne Guesnet
Committed by
Daniel Black
Dec 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add flags for AIX build
parent
b23e5457
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
cmake/os/AIX.cmake
cmake/os/AIX.cmake
+7
-0
No files found.
cmake/os/AIX.cmake
View file @
1d7fc728
...
@@ -16,6 +16,10 @@
...
@@ -16,6 +16,10 @@
#Enable 64 bit file offsets
#Enable 64 bit file offsets
SET
(
_LARGE_FILES 1
)
SET
(
_LARGE_FILES 1
)
SET
(
CMAKE_C_ARCHIVE_CREATE
"<CMAKE_AR> -X32_64 qc <TARGET> <LINK_FLAGS> <OBJECTS>"
)
SET
(
CMAKE_C_ARCHIVE_APPEND
"<CMAKE_AR> -X32_64 q <TARGET> <LINK_FLAGS> <OBJECTS>"
)
SET
(
CMAKE_CXX_ARCHIVE_CREATE
"<CMAKE_AR> -X32_64 qc <TARGET> <LINK_FLAGS> <OBJECTS>"
)
SET
(
CMAKE_CXX_ARCHIVE_APPEND
"<CMAKE_AR> -X32_64 q <TARGET> <LINK_FLAGS> <OBJECTS>"
)
IF
(
__AIX_COMPILER_XL
)
IF
(
__AIX_COMPILER_XL
)
# Fix xlC oddity - it complains about same inline function defined multiple times
# Fix xlC oddity - it complains about same inline function defined multiple times
...
@@ -25,4 +29,7 @@ INCLUDE(CheckCXXCompilerFlag)
...
@@ -25,4 +29,7 @@ INCLUDE(CheckCXXCompilerFlag)
IF
(
HAVE_QSTATICINLINE
)
IF
(
HAVE_QSTATICINLINE
)
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-qstaticinline"
)
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-qstaticinline"
)
ENDIF
()
ENDIF
()
ELSE
()
SET
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -maix64 -pthread -mcmodel=large"
)
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -maix64 -pthread -mcmodel=large"
)
ENDIF
()
ENDIF
()
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