summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/Platform/AIX-IBMClang-CXX.cmake1
-rw-r--r--Modules/Platform/AIX-IBMClang.cmake1
2 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/AIX-IBMClang-CXX.cmake b/Modules/Platform/AIX-IBMClang-CXX.cmake
index 5cbe719..bf580ec 100644
--- a/Modules/Platform/AIX-IBMClang-CXX.cmake
+++ b/Modules/Platform/AIX-IBMClang-CXX.cmake
@@ -1,2 +1,3 @@
include(Platform/AIX-IBMClang)
__aix_compiler_ibmclang(CXX)
+unset(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY_INLINES_HIDDEN)
diff --git a/Modules/Platform/AIX-IBMClang.cmake b/Modules/Platform/AIX-IBMClang.cmake
index ffb402c..4e5205e 100644
--- a/Modules/Platform/AIX-IBMClang.cmake
+++ b/Modules/Platform/AIX-IBMClang.cmake
@@ -12,4 +12,5 @@ include(Platform/AIX-GNU)
macro(__aix_compiler_ibmclang lang)
__aix_compiler_gnu(${lang})
+ unset(CMAKE_${lang}_COMPILE_OPTIONS_VISIBILITY)
endmacro()