diff options
author | 2017-07-27 10:23:25 +0000 | |
---|---|---|
committer | 2017-07-27 10:23:25 +0000 | |
commit | 1862cc96ca1e5dc5b5c736d2d2c3edfbe501fca2 (patch) | |
tree | 96122ed6a16cc8ba0ebff97e2f6e4812fc067c55 | |
parent | The -d flag prevents redirection of stdout (not stdin) and stderr (diff) | |
download | wireguard-openbsd-1862cc96ca1e5dc5b5c736d2d2c3edfbe501fca2.tar.xz wireguard-openbsd-1862cc96ca1e5dc5b5c736d2d2c3edfbe501fca2.zip |
don't double install ld, some people have already been lost trying
to get out of these makefiles!
okay kettenis@
-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 |