[Cmake-commits] CMake branch, next, updated. v2.8.10.2-2508-g85f247b
Brad King
brad.king at kitware.com
Wed Mar 13 13:50:52 EDT 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 85f247b1ceea16de9774c04602b2e2fd597b3142 (commit)
via 5c8c1d624d9b56e400637e996fd060add09180a3 (commit)
from 79eea4335045ca1a51482c94a2d4b252184e6e46 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=85f247b1ceea16de9774c04602b2e2fd597b3142
commit 85f247b1ceea16de9774c04602b2e2fd597b3142
Merge: 79eea43 5c8c1d6
Author: Brad King <brad.king at kitware.com>
AuthorDate: Wed Mar 13 13:50:49 2013 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Mar 13 13:50:49 2013 -0400
Merge topic 'aix-pic' into next
5c8c1d6 XL: Use -qpic for position independent code (#14010)
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5c8c1d624d9b56e400637e996fd060add09180a3
commit 5c8c1d624d9b56e400637e996fd060add09180a3
Author: Brad King <brad.king at kitware.com>
AuthorDate: Wed Mar 13 13:12:47 2013 -0400
Commit: Brad King <brad.king at kitware.com>
CommitDate: Wed Mar 13 13:49:48 2013 -0400
XL: Use -qpic for position independent code (#14010)
According to XL C/C++ V9.0 documentation the default for -qpic/-qnopic
is platform-dependent. It won't hurt to add the option on platforms
where it is the default, so always add it when we want position
independent code.
diff --git a/Modules/Compiler/XL.cmake b/Modules/Compiler/XL.cmake
index d293610..7bf5020 100644
--- a/Modules/Compiler/XL.cmake
+++ b/Modules/Compiler/XL.cmake
@@ -27,6 +27,7 @@ find_program(CMAKE_XL_CreateExportList
macro(__compiler_xl lang)
# Feature flags.
set(CMAKE_${lang}_VERBOSE_FLAG "-V")
+ set(CMAKE_${lang}_COMPILE_OPTIONS_PIC "-qpic")
set(CMAKE_${lang}_FLAGS_DEBUG_INIT "-g")
set(CMAKE_${lang}_FLAGS_RELEASE_INIT "-O")
-----------------------------------------------------------------------
Summary of changes:
Modules/Compiler/XL.cmake | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list