diff options
author | markj <markj@FreeBSD.org> | 2014-09-02 23:43:06 +0000 |
---|---|---|
committer | markj <markj@FreeBSD.org> | 2014-09-02 23:43:06 +0000 |
commit | 3db87a715606feda37484b524886947f3bc18a48 (patch) | |
tree | ac3d113c4c0b13f3739f5bb85b96ea3ce1712bae /share | |
parent | 80421e1e60827e44bae8839b6ff66a29a4feb623 (diff) | |
download | FreeBSD-src-3db87a715606feda37484b524886947f3bc18a48.zip FreeBSD-src-3db87a715606feda37484b524886947f3bc18a48.tar.gz |
Define _DTRACE_VERSION in sdt.h rather than setting it manually. This is
similar to what illumos does, and makes it easier to enable USDT probes
in third-party software that doesn't make use of the system makefiles.
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 14619eb..509c17f 100644 --- a/share/mk/bsd.dep.mk +++ b/share/mk/bsd.dep.mk @@ -125,7 +125,7 @@ ${_YC:R}.o: ${_YC} .if ${SRCS:M*.d} LDFLAGS+= -lelf LDADD+= ${LIBELF} -CFLAGS+= -D_DTRACE_VERSION=1 -I${.OBJDIR} +CFLAGS+= -I${.OBJDIR} .endif .for _DSRC in ${SRCS:M*.d:N*/*} .for _D in ${_DSRC:R} |