summaryrefslogtreecommitdiffstats
path: root/sys/conf/Makefile.amd64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/conf/Makefile.amd64')
-rw-r--r--sys/conf/Makefile.amd643
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/conf/Makefile.amd64 b/sys/conf/Makefile.amd64
index 6f35c9d3..6fe4544 100644
--- a/sys/conf/Makefile.amd64
+++ b/sys/conf/Makefile.amd64
@@ -32,8 +32,9 @@ S= ../../..
.include "$S/conf/kern.pre.mk"
DDB_ENABLED!= grep DDB opt_ddb.h || true
+DTR_ENABLED!= grep KDTRACE_FRAME opt_kdtrace.h || true
HWPMC_ENABLED!= grep HWPMC opt_hwpmc_hooks.h || true
-.if !empty(DDB_ENABLED) || !empty(HWPMC_ENABLED)
+.if !empty(DDB_ENABLED) || !empty(DTR_ENABLED) || !empty(HWPMC_ENABLED)
CFLAGS+= -fno-omit-frame-pointer
.endif
OpenPOWER on IntegriCloud