[Cmake-commits] CMake branch, next, updated. v3.6.1-1739-g0c0137e
Brad King
brad.king at kitware.com
Sat Sep 3 07:53:54 EDT 2016
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 0c0137edc49ed3612afda8482f0d4509269e0842 (commit)
via 4f045166ca6731971fe852f501c4a266031786ac (commit)
from 25e5ed190800415a6423e98e3de023a6b4b3251f (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 -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0c0137edc49ed3612afda8482f0d4509269e0842
commit 0c0137edc49ed3612afda8482f0d4509269e0842
Merge: 25e5ed1 4f04516
Author: Brad King <brad.king at kitware.com>
AuthorDate: Sat Sep 3 07:53:53 2016 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Sat Sep 3 07:53:53 2016 -0400
Merge topic 'test-GenerateExportHeader-with-RunCMake' into next
4f045166 GNU: Do not use -fvisibility on AIX or HP-UX
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4f045166ca6731971fe852f501c4a266031786ac
commit 4f045166ca6731971fe852f501c4a266031786ac
Author: Brad King <brad.king at kitware.com>
AuthorDate: Sat Sep 3 07:50:47 2016 -0400
Commit: Brad King <brad.king at kitware.com>
CommitDate: Sat Sep 3 07:51:59 2016 -0400
GNU: Do not use -fvisibility on AIX or HP-UX
Use of `-fvisibility=hidden` warns:
warning: visibility attribute not supported in this configuration; ignored
diff --git a/Modules/Platform/AIX-GNU-CXX.cmake b/Modules/Platform/AIX-GNU-CXX.cmake
index ec8e83f..d047801 100644
--- a/Modules/Platform/AIX-GNU-CXX.cmake
+++ b/Modules/Platform/AIX-GNU-CXX.cmake
@@ -1,2 +1,3 @@
include(Platform/AIX-GNU)
__aix_compiler_gnu(CXX)
+unset(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY_INLINES_HIDDEN)
diff --git a/Modules/Platform/AIX-GNU.cmake b/Modules/Platform/AIX-GNU.cmake
index df97ab1..ce6faff 100644
--- a/Modules/Platform/AIX-GNU.cmake
+++ b/Modules/Platform/AIX-GNU.cmake
@@ -34,4 +34,5 @@ macro(__aix_compiler_gnu lang)
set(CMAKE_${lang}_USE_IMPLICIT_LINK_DIRECTORIES_IN_RUNTIME_PATH 1)
set(CMAKE_${lang}_LINK_FLAGS "-Wl,-bnoipath")
+ unset(CMAKE_${lang}_COMPILE_OPTIONS_VISIBILITY)
endmacro()
diff --git a/Modules/Platform/HP-UX-GNU-CXX.cmake b/Modules/Platform/HP-UX-GNU-CXX.cmake
index 689bed0..ac72560 100644
--- a/Modules/Platform/HP-UX-GNU-CXX.cmake
+++ b/Modules/Platform/HP-UX-GNU-CXX.cmake
@@ -1,2 +1,3 @@
include(Platform/HP-UX-GNU)
__hpux_compiler_gnu(CXX)
+unset(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY_INLINES_HIDDEN)
diff --git a/Modules/Platform/HP-UX-GNU.cmake b/Modules/Platform/HP-UX-GNU.cmake
index 6c71784..cbd8164 100644
--- a/Modules/Platform/HP-UX-GNU.cmake
+++ b/Modules/Platform/HP-UX-GNU.cmake
@@ -26,4 +26,5 @@ macro(__hpux_compiler_gnu lang)
set(CMAKE_SHARED_LIBRARY_SONAME_${lang}_FLAG "-Wl,+h")
set(CMAKE_${lang}_LINK_FLAGS "-Wl,+s,+nodefaultrpath")
+ unset(CMAKE_${lang}_COMPILE_OPTIONS_VISIBILITY)
endmacro()
-----------------------------------------------------------------------
Summary of changes:
Modules/Platform/AIX-GNU-CXX.cmake | 1 +
Modules/Platform/AIX-GNU.cmake | 1 +
Modules/Platform/HP-UX-GNU-CXX.cmake | 1 +
Modules/Platform/HP-UX-GNU.cmake | 1 +
4 files changed, 4 insertions(+)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list