diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2017-07-27 10:23:26 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2017-07-27 10:23:26 +0000 |
commit | ceb0c350eefe0e7d288803b06323b43fde188a3d (patch) | |
tree | 9ce6762654bf21b0d498e26057910048684cb176 /gnu | |
parent | acb936f392e3ac0297c372c4d117e250394e744b (diff) |
don't double install ld, some people have already been lost trying
to get out of these makefiles!
okay kettenis@
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/clang/lld/Makefile | 5 |
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 |