aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge V. Neville-Neil <gnn@FreeBSD.org>2024-05-01 17:00:52 +0000
committerGeorge V. Neville-Neil <gnn@FreeBSD.org>2024-05-01 17:00:52 +0000
commite60ca52b72e518f8394615bdad9cd9c85764caa2 (patch)
tree3c4d79bfadfc17b2af4ce6071d340e765b4d1ef4
parentc100fe0ba36082f77ceedf3ef1e5bd415c167d44 (diff)
downloadsrc-e60ca52b72e518f8394615bdad9cd9c85764caa2.tar.gz
src-e60ca52b72e518f8394615bdad9cd9c85764caa2.zip
Out of tree modules should be built with DTrace by default.
-rw-r--r--share/examples/modules/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/examples/modules/Makefile b/share/examples/modules/Makefile
index 0f0a2fb01e8a..bc7f6f6a57ac 100644
--- a/share/examples/modules/Makefile
+++ b/share/examples/modules/Makefile
@@ -4,3 +4,5 @@ KMOD= skel
SRCS= skel.c
.include <bsd.kmod.mk>
+
+CFLAGS:= ${CFLAGS:N -DKDTRACE_HOOKS}