mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add FreeBSD Option handling.
This commit is contained in:
@@ -64,5 +64,8 @@ StringRef swift::getPlatformNameForTriple(const llvm::Triple &triple) {
|
||||
if (triple.isOSLinux())
|
||||
return "linux";
|
||||
|
||||
if (triple.isOSFreeBSD())
|
||||
return "freebsd";
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user