07e2eb50f0 IBMClang: Do not use -fvisibility on AIX Acked-by: Kitware Robot <[email protected]> Merge-request: !6917
@@ -1,2 +1,3 @@
include(Platform/AIX-IBMClang)
__aix_compiler_ibmclang(CXX)
+unset(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY_INLINES_HIDDEN)
@@ -12,4 +12,5 @@ include(Platform/AIX-GNU)
macro(__aix_compiler_ibmclang lang)
__aix_compiler_gnu(${lang})
+ unset(CMAKE_${lang}_COMPILE_OPTIONS_VISIBILITY)
endmacro()