summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/AIX-GNU.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-12-08 17:37:57 (GMT)
committerBrad King <brad.king@kitware.com>2023-12-08 21:32:20 (GMT)
commitdf025444b216f69f57a6bf060a75ca883f5ddce8 (patch)
treef47ea723dde51a5c18fd472bc5e6308863dfa280 /Modules/Platform/AIX-GNU.cmake
parentc1e48a19a5603565d8e691e62ff058ecce61d679 (diff)
downloadCMake-df025444b216f69f57a6bf060a75ca883f5ddce8.zip
CMake-df025444b216f69f57a6bf060a75ca883f5ddce8.tar.gz
CMake-df025444b216f69f57a6bf060a75ca883f5ddce8.tar.bz2
LinkerId: Identify AIX and SunOS system linkers
Populate `CMAKE_<LANG>_COMPILER_LINKER_{ID,VERSION}` on these platforms.
Diffstat (limited to 'Modules/Platform/AIX-GNU.cmake')
-rw-r--r--Modules/Platform/AIX-GNU.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Platform/AIX-GNU.cmake b/Modules/Platform/AIX-GNU.cmake
index 106eaec..55a6680 100644
--- a/Modules/Platform/AIX-GNU.cmake
+++ b/Modules/Platform/AIX-GNU.cmake
@@ -14,6 +14,7 @@ macro(__aix_compiler_gnu lang)
string(APPEND CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS " -Wl,-bnoipath")
set(CMAKE_SHARED_LIBRARY_LINK_${lang}_FLAGS "-Wl,-bexpall") # CMP0065 old behavior
set(CMAKE_${lang}_USE_IMPLICIT_LINK_DIRECTORIES_IN_RUNTIME_PATH 1)
+ set(CMAKE_${lang}_VERBOSE_LINK_FLAG "-Wl,-v")
set(CMAKE_${lang}_LINK_FLAGS "-Wl,-bnoipath")
set(CMAKE_${lang}_LINK_LIBRARIES_PROCESSING ORDER=REVERSE UNICITY=ALL)