[Cmake-commits] CMake branch, next, updated. v2.8.8-3418-gf6f64e2
Brad King
brad.king at kitware.com
Mon Jul 9 17:20:29 EDT 2012
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 f6f64e2d1b382ff80e2d2f83869f18efedacdb1a (commit)
via 767a7ad9dac20d252e71941b6cf03f123c7c37fc (commit)
from dc22cb53348ecdbf0ebbe2d789dad2d4dfd2cef2 (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=f6f64e2d1b382ff80e2d2f83869f18efedacdb1a
commit f6f64e2d1b382ff80e2d2f83869f18efedacdb1a
Merge: dc22cb5 767a7ad
Author: Brad King <brad.king at kitware.com>
AuthorDate: Mon Jul 9 17:20:27 2012 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Mon Jul 9 17:20:27 2012 -0400
Merge topic 'aix-GNU-shared-libs' into next
767a7ad AIX-GNU: Link shared libs with -brtl,-bnoipath (#13352)
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=767a7ad9dac20d252e71941b6cf03f123c7c37fc
commit 767a7ad9dac20d252e71941b6cf03f123c7c37fc
Author: Brad King <brad.king at kitware.com>
AuthorDate: Mon Jul 9 17:18:41 2012 -0400
Commit: Brad King <brad.king at kitware.com>
CommitDate: Mon Jul 9 17:18:41 2012 -0400
AIX-GNU: Link shared libs with -brtl,-bnoipath (#13352)
We already use these flags with the XL toolchain. Use them for GNU too.
diff --git a/Modules/Platform/AIX-GNU.cmake b/Modules/Platform/AIX-GNU.cmake
index 543f3e8..81ba365 100644
--- a/Modules/Platform/AIX-GNU.cmake
+++ b/Modules/Platform/AIX-GNU.cmake
@@ -21,5 +21,6 @@ set(__AIX_COMPILER_GNU 1)
macro(__aix_compiler_gnu lang)
set(CMAKE_SHARED_LIBRARY_RUNTIME_${lang}_FLAG "-Wl,-blibpath:")
set(CMAKE_SHARED_LIBRARY_RUNTIME_${lang}_FLAG_SEP ":")
- set(CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS} -Wl,-G")
+ set(CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS} -Wl,-G,-brtl,-bnoipath")
+ set(CMAKE_SHARED_LIBRARY_LINK_${lang}_FLAGS "-Wl,-brtl,-bnoipath,-bexpall") # +s, flag for exe link to use shared lib
endmacro()
-----------------------------------------------------------------------
Summary of changes:
Modules/Platform/AIX-GNU.cmake | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list