[Workflow] Roll back some settings since they caused more issues
[llvm-project.git] / cmake / Modules / SetPlatformToolchainTools.cmake
blobab2abe934473d452ebe5e56ef13a1d368343e3a0
1 get_property(languages GLOBAL PROPERTY ENABLED_LANGUAGES)
3 if(CMAKE_SYSTEM_NAME MATCHES "AIX")
4   foreach(lang IN LISTS languages)
5     set(CMAKE_${lang}_ARCHIVE_CREATE "<CMAKE_AR> -X32_64 qc <TARGET> <LINK_FLAGS> <OBJECTS>")
6     set(CMAKE_${lang}_ARCHIVE_APPEND "<CMAKE_AR> -X32_64 q <TARGET> <LINK_FLAGS> <OBJECTS>")
7     set(CMAKE_${lang}_ARCHIVE_FINISH "<CMAKE_RANLIB> -X32_64 <TARGET>")
8   endforeach()
9 endif()