diff options
author | Brad King <brad.king@kitware.com> | 2022-01-29 11:31:09 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-01-29 11:31:15 (GMT) |
commit | ed8158324bb7afcb06ecc4420e5d29a0a4d78be1 (patch) | |
tree | 1fdac1534fdd314393321dfa657285d93679cb76 | |
parent | 16fbf6ccb6eefdebc5b43a675f97bd2c294f5297 (diff) | |
parent | 07e2eb50f033dd30e7bed459879a4a230b45368d (diff) | |
download | CMake-ed8158324bb7afcb06ecc4420e5d29a0a4d78be1.zip CMake-ed8158324bb7afcb06ecc4420e5d29a0a4d78be1.tar.gz CMake-ed8158324bb7afcb06ecc4420e5d29a0a4d78be1.tar.bz2 |
Merge topic 'ibmclang-aix'
07e2eb50f0 IBMClang: Do not use -fvisibility on AIX
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6917
-rw-r--r-- | Modules/Platform/AIX-IBMClang-CXX.cmake | 1 | ||||
-rw-r--r-- | Modules/Platform/AIX-IBMClang.cmake | 1 |
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() |