Don't print noisy errors if need-dl hasn't been created yet.
This commit is contained in:
parent
2fab7c857c
commit
283854674c
4
external/bsd/llvm/link.mk
vendored
4
external/bsd/llvm/link.mk
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: link.mk,v 1.1 2011/02/06 01:13:43 joerg Exp $
|
||||
# $NetBSD: link.mk,v 1.2 2012/05/31 18:53:33 joerg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -21,7 +21,7 @@ DPADD+= ${LLVM_OBJDIR.${l}}/libLLVM${l}.a
|
||||
.endfor
|
||||
|
||||
.if defined(HOSTPROG)
|
||||
LDADD_NEED_DL= cat ${LLVM_TOOLCONF_OBJDIR}/need-dl
|
||||
LDADD_NEED_DL= cat ${LLVM_TOOLCONF_OBJDIR}/need-dl 2> /dev/null
|
||||
LDADD+= ${LDADD_NEED_DL:sh}
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user