forked from OSchip/llvm-project
Handle the NetBSD case in ToolChain::getOSLibName()
Return a new CompilerRT Path on NetBSD: "netbsd", instead of getOS(), which returns a string like "netbsd8.9.12". Sponsored by <The NetBSD Foundation> llvm-svn: 326219
This commit is contained in:
parent
b2f9bb9e54
commit
9b1996ec86
|
@ -327,6 +327,8 @@ StringRef ToolChain::getOSLibName() const {
|
|||
switch (Triple.getOS()) {
|
||||
case llvm::Triple::FreeBSD:
|
||||
return "freebsd";
|
||||
case llvm::Triple::NetBSD:
|
||||
return "netbsd";
|
||||
case llvm::Triple::Solaris:
|
||||
return "sunos";
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue