diff options
Diffstat (limited to 'gnu/usr.bin/clang/lld/Makefile')
-rw-r--r-- | gnu/usr.bin/clang/lld/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/usr.bin/clang/lld/Makefile b/gnu/usr.bin/clang/lld/Makefile index 7099b2f40b2..b4373f06145 100644 --- a/gnu/usr.bin/clang/lld/Makefile +++ b/gnu/usr.bin/clang/lld/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2017/01/22 06:00:14 patrick Exp $ +# $OpenBSD: Makefile,v 1.4 2017/01/22 06:07:21 patrick Exp $ .include <bsd.own.mk> @@ -10,6 +10,10 @@ NOMAN= LDADD+= -ltermlib DPADD+= ${LIBTERMLIB} +.if ${COMPILER_VERSION:L} == "clang" +LINKS= ${BINDIR}/ld.lld ${BINDIR}/ld +.endif + CPPFLAGS+= ${CLANG_INCLUDES} CPPFLAGS+= -I${.CURDIR}/../../../llvm/tools/lld/include |