From 9cc5beedc78cd4c310476749d339d8fc9497be85 Mon Sep 17 00:00:00 2001 From: rpaulo Date: Mon, 11 Aug 2014 22:43:44 +0000 Subject: [PATCH] Revert r269839. This doesn't work like I expected and the if clause is never matched. It turns out that the problem with the older make is unrelated. MFC after: 3 days --- share/mk/bsd.dep.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk index a360f60f50b3..a15a70dc250a 100644 --- a/share/mk/bsd.dep.mk +++ b/share/mk/bsd.dep.mk @@ -122,7 +122,7 @@ ${_YC:R}.o: ${_YC} # DTrace probe definitions # libelf is currently needed for drti.o -.if !empty(${SRCS:M*.d}) +.if ${SRCS:M*.d} LDFLAGS+= -lelf LDADD+= ${LIBELF} CFLAGS+= -D_DTRACE_VERSION=1 -I${.OBJDIR}