diff options
author | Brad King <brad.king@kitware.com> | 2019-07-16 14:30:30 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-07-16 14:30:38 (GMT) |
commit | c3d9d800157a8fe2c0478d7e054544b99694c240 (patch) | |
tree | e723f303f577f058be0b5771053dbee027e6c32e /Modules/Compiler/XL.cmake | |
parent | 76a540bab5f05e4d523ce1b0480b0ee6424c676b (diff) | |
parent | c2c3d22504728e0763c3d0e88333a34d24457fb6 (diff) | |
download | CMake-c3d9d800157a8fe2c0478d7e054544b99694c240.zip CMake-c3d9d800157a8fe2c0478d7e054544b99694c240.tar.gz CMake-c3d9d800157a8fe2c0478d7e054544b99694c240.tar.bz2 |
Merge topic 'aix-explicit-exports'
c2c3d22504 Tests: Drop RunCMake workaround for AIX ld warnings about GNU atexit
9f5c2040bf AIX: Explicitly compute executable exports for both XL and GNU
0f150b69d3 AIX: Explicitly compute shared object exports for both XL and GNU
a5bf4e7921 AIX: Drop redundant -brtl flags
9cb5f040d7 XL: De-duplicate shared object creation flags
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3556
Diffstat (limited to 'Modules/Compiler/XL.cmake')
-rw-r--r-- | Modules/Compiler/XL.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Compiler/XL.cmake b/Modules/Compiler/XL.cmake index a9cec11..fc71ab4 100644 --- a/Modules/Compiler/XL.cmake +++ b/Modules/Compiler/XL.cmake @@ -18,6 +18,8 @@ macro(__compiler_xl lang) set(CMAKE_${lang}_RESPONSE_FILE_FLAG "-qoptfile=") set(CMAKE_${lang}_RESPONSE_FILE_LINK_FLAG "-qoptfile=") + set(CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS "-qmkshrobj") + set(CMAKE_${lang}_LINKER_WRAPPER_FLAG "-Wl,") set(CMAKE_${lang}_LINKER_WRAPPER_FLAG_SEP ",") |