forked from OSchip/llvm-project
[Driver] Fix accidentally reversed condition in r349752
llvm-svn: 349754
This commit is contained in:
parent
8ff7fec28b
commit
920936ce5f
|
@ -603,7 +603,7 @@ void tools::linkSanitizerRuntimeDeps(const ToolChain &TC,
|
|||
if (TC.getTriple().getOS() != llvm::Triple::RTEMS &&
|
||||
!TC.getTriple().isAndroid()) {
|
||||
CmdArgs.push_back("-lpthread");
|
||||
if (TC.getTriple().isOSOpenBSD())
|
||||
if (!TC.getTriple().isOSOpenBSD())
|
||||
CmdArgs.push_back("-lrt");
|
||||
}
|
||||
CmdArgs.push_back("-lm");
|
||||
|
|
Loading…
Reference in New Issue