We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3959bbc commit a4510aaCopy full SHA for a4510aa
flang-rt/cmake/modules/GetToolchainDirs.cmake
@@ -34,8 +34,9 @@
34
function (get_toolchain_library_subdir outvar)
35
set(outval "lib")
36
37
- if (APPLE)
+ if (APPLE OR (UNIX AND CMAKE_SYSTEM_NAME MATCHES "AIX"))
38
# Required to be "darwin" for MachO toolchain.
39
+ # AIX uses lib/${os_dir} as if LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF
40
get_toolchain_os_dirname(os_dirname)
41
set(outval "${outval}/${os_dirname}")
42
else ()
0 commit comments