diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2014-08-11 20:44:57 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2014-08-11 20:44:57 +0000 |
commit | 01b82793f2800bdc66f16781da44a743afe4553a (patch) | |
tree | 671399f90765b36917899b01d102e81664433154 /share | |
parent | e8743ccfa0656b823b03ad362cce78e2d3de899e (diff) | |
download | FreeBSD-src-01b82793f2800bdc66f16781da44a743afe4553a.zip FreeBSD-src-01b82793f2800bdc66f16781da44a743afe4553a.tar.gz |
bsd.dep.mk: use the empty() function with the check for .d files.
Seems to work better with the old make.
MFC after: 3 days
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/bsd.dep.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk index b5ab414..4c2330c 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 ${SRCS:M*.d} +.if !empty(${SRCS:M*.d}) LDFLAGS+= -lelf LDADD+= ${LIBELF} CFLAGS+= -D_DTRACE_VERSION=1 -I${.OBJDIR} |