diff --git a/devel/llvm80/files/patch-tools_clang_lib_Basic_Targets.cpp b/devel/llvm80/files/patch-tools_clang_lib_Basic_Targets.cpp new file mode 100644 index 000000000000..cd82fc0991ea --- /dev/null +++ b/devel/llvm80/files/patch-tools_clang_lib_Basic_Targets.cpp @@ -0,0 +1,11 @@ +--- tools/clang/lib/Basic/Targets.cpp.orig 2020-09-27 10:34:55 UTC ++++ tools/clang/lib/Basic/Targets.cpp +@@ -357,6 +357,8 @@ TargetInfo *AllocateTarget(const llvm::Triple &Triple, + switch (os) { + case llvm::Triple::Linux: + return new LinuxTargetInfo(Triple, Opts); ++ case llvm::Triple::FreeBSD: ++ return new FreeBSDTargetInfo(Triple, Opts); + case llvm::Triple::NetBSD: + return new NetBSDTargetInfo(Triple, Opts); + default: