aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorMarkus Mützel <markus.muetzel@gmx.de>2023-04-25 10:09:20 -0700
committerSlava Zakharin <szakharin@nvidia.com>2023-04-25 10:12:41 -0700
commit329964769972ef3c8a68f2dfea30e66beb4ae3e2 (patch)
tree70cdcaa5e357ce4da06d334081129fa53c17fd7c /lldb/source/Plugins/ScriptInterpreter/Python
parent71f862b7bb2c2413d9e47d281ed6f901f8bcd6e3 (diff)
downloadllvm-329964769972ef3c8a68f2dfea30e66beb4ae3e2.zip
llvm-329964769972ef3c8a68f2dfea30e66beb4ae3e2.tar.gz
llvm-329964769972ef3c8a68f2dfea30e66beb4ae3e2.tar.bz2
[flang] Avoid dependency of runtime library on pthread for MinGW
When building the Fortran runtime on MinGW, `clock_gettime` is currently used. That function is provided by the `pthread` library on that platform. That means that all programs that link `libFortranRuntime` also require to be linked with `pthread` on that platform. There is already a code path (for MSVC) that doesn't use `clock_gettime` in the implementation of the Fortran library. Use the same code path also on MinGW by undefining `CLOCKID`. Reviewed By: vzakhari Differential Revision: https://reviews.llvm.org/D149051
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions