summaryrefslogtreecommitdiff
path: root/gnu/llvm
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2016-11-28 21:38:50 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2016-11-28 21:38:50 +0000
commitb8a034ba751ddd23f30de2dffb30dfbc7e75f1f6 (patch)
treebe6211daecd187d2083d8e34e9b37ea74931255f /gnu/llvm
parent2f642f3a657eebda3edf0e6f6df6f43a0f5e0fbc (diff)
Setup clang to use OpenBSD settings and defines for our AArch64
(little-endian) target. ok phessler@
Diffstat (limited to 'gnu/llvm')
-rw-r--r--gnu/llvm/tools/clang/lib/Basic/Targets.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/llvm/tools/clang/lib/Basic/Targets.cpp b/gnu/llvm/tools/clang/lib/Basic/Targets.cpp
index 1b881849c38..d65c88a9276 100644
--- a/gnu/llvm/tools/clang/lib/Basic/Targets.cpp
+++ b/gnu/llvm/tools/clang/lib/Basic/Targets.cpp
@@ -7551,6 +7551,8 @@ static TargetInfo *AllocateTarget(const llvm::Triple &Triple) {
return new LinuxTargetInfo<AArch64leTargetInfo>(Triple);
case llvm::Triple::NetBSD:
return new NetBSDTargetInfo<AArch64leTargetInfo>(Triple);
+ case llvm::Triple::OpenBSD:
+ return new OpenBSDTargetInfo<AArch64leTargetInfo>(Triple);
default:
return new AArch64leTargetInfo(Triple);
}