Fix a comment in the code
The -ldl library is missing on NetBSD too, make the comment more generic. llvm-svn: 320165
This commit is contained in:
parent
b5a62cc81a
commit
bb9a852afd
|
@ -544,7 +544,7 @@ void tools::linkSanitizerRuntimeDeps(const ToolChain &TC,
|
|||
CmdArgs.push_back("-lrt");
|
||||
}
|
||||
CmdArgs.push_back("-lm");
|
||||
// There's no libdl on FreeBSD or RTEMS.
|
||||
// There's no libdl on all OSes.
|
||||
if (TC.getTriple().getOS() != llvm::Triple::FreeBSD &&
|
||||
TC.getTriple().getOS() != llvm::Triple::NetBSD &&
|
||||
TC.getTriple().getOS() != llvm::Triple::RTEMS)
|
||||
|
|
Loading…
Reference in New Issue