mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
devel/llvm80: add powerpc64le support
llvm80 builds without it on powerpc64le, but __ELF__ is not defined, breaking e.g. creduce.
This commit is contained in:
parent
9a4bea7d53
commit
a4d20d9eeb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550271
11
devel/llvm80/files/patch-tools_clang_lib_Basic_Targets.cpp
Normal file
11
devel/llvm80/files/patch-tools_clang_lib_Basic_Targets.cpp
Normal file
@ -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<PPC64TargetInfo>(Triple, Opts);
|
||||
+ case llvm::Triple::FreeBSD:
|
||||
+ return new FreeBSDTargetInfo<PPC64TargetInfo>(Triple, Opts);
|
||||
case llvm::Triple::NetBSD:
|
||||
return new NetBSDTargetInfo<PPC64TargetInfo>(Triple, Opts);
|
||||
default:
|
Loading…
Reference in New Issue
Block a user