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 31c8a85 commit dff3b33Copy full SHA for dff3b33
flang-rt/CMakeLists.txt
@@ -245,7 +245,9 @@ check_cxx_compiler_flag("-UTESTFLAG" FLANG_RT_SUPPORTS_UNDEFINE_FLAG)
245
# Check whether -fno-lto is supported.
246
check_cxx_compiler_flag(-fno-lto FLANG_RT_HAS_FNO_LTO_FLAG)
247
248
-# Search for pthread library
+# Different platform may have different name for the POSIX thread library.
249
+# For example, libpthread.a on AIX. Search for it as it is needed when
250
+# building the shared flang_rt.runtime.so.
251
find_package(Threads REQUIRED)
252
253
# function checks
0 commit comments