forked from OSchip/llvm-project
[XRay][clang] Remove dependency on libatomic for XRay builds
Summary: This change depends on D31381 where we change the implementation to use sanitizer_common provided atomic operations library. Fixes http://llvm.org/PR32274. Reviewers: pelikan, dblaikie Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D31382 llvm-svn: 298835
This commit is contained in:
parent
bb6cf7378f
commit
fa9e36e9c4
|
@ -346,7 +346,6 @@ static void linkXRayRuntimeDeps(const ToolChain &TC, const ArgList &Args,
|
|||
CmdArgs.push_back("-lpthread");
|
||||
CmdArgs.push_back("-lrt");
|
||||
CmdArgs.push_back("-lm");
|
||||
CmdArgs.push_back("-latomic");
|
||||
|
||||
if (TC.getTriple().getOS() != llvm::Triple::FreeBSD)
|
||||
CmdArgs.push_back("-ldl");
|
||||
|
|
Loading…
Reference in New Issue