summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/clang/lld/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/usr.bin/clang/lld/Makefile b/gnu/usr.bin/clang/lld/Makefile
index 3ae4a7a4735..5a9662833ff 100644
--- a/gnu/usr.bin/clang/lld/Makefile
+++ b/gnu/usr.bin/clang/lld/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.9 2017/07/09 15:28:36 espie Exp $
+# $OpenBSD: Makefile,v 1.10 2017/07/27 10:23:25 espie Exp $
.include <bsd.own.mk>
@@ -7,7 +7,8 @@ BINDIR= /usr/bin
SRCS= lld.cpp
NOMAN=
-.if ${COMPILER_VERSION:L} == "clang"
+TARGET_ARCH?= ${MACHINE_ARCH}
+.if ${TARGET_ARCH} == "aarch64"
LINKS= ${BINDIR}/ld.lld ${BINDIR}/ld
.endif