diff options
author | Michal Gorny <mgorny@gentoo.org> | 2019-01-03 16:43:27 +0000 |
---|---|---|
committer | Michal Gorny <mgorny@gentoo.org> | 2019-01-03 16:43:27 +0000 |
commit | c1d5999dd1e8e46fc5e72a9ace11f6b426c17850 (patch) | |
tree | 3625c2920dbf5efd1d58bd78a82891030302d9df /libcxx/test/std/utilities/time/time.duration/time.duration.special/max.pass.cpp | |
parent | a3924b517e2d10c25ee3b41dfd96bb9a5333b64e (diff) | |
download | bcm5719-llvm-c1d5999dd1e8e46fc5e72a9ace11f6b426c17850.tar.gz bcm5719-llvm-c1d5999dd1e8e46fc5e72a9ace11f6b426c17850.zip |
[clangd] Fix detecting atomics in stand-alone builds
Include CheckAtomic CMake module from LLVM in order to detect support
for atomics when building stand-alone. Otherwise,
the HAVE_CXX_ATOMICS64_WITHOUT_LIB variable is undefined and clangd
wrongly attempts to link -latomic on systems not using the library.
Original bug report: https://bugs.gentoo.org/667016
Differential Revision: https://reviews.llvm.org/D56061
llvm-svn: 350329
Diffstat (limited to 'libcxx/test/std/utilities/time/time.duration/time.duration.special/max.pass.cpp')
0 files changed, 0 insertions, 0 deletions