aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/Makefile.arm64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/conf/Makefile.arm64')
-rw-r--r--sys/conf/Makefile.arm642
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/Makefile.arm64 b/sys/conf/Makefile.arm64
index 1f5760021f3e..d48826197dbd 100644
--- a/sys/conf/Makefile.arm64
+++ b/sys/conf/Makefile.arm64
@@ -45,7 +45,7 @@ SYSTEM_LD= \
KERNEL_EXTRA+= ${KERNEL_KO}.bin
KERNEL_EXTRA_INSTALL+= ${KERNEL_KO}.bin
-.if !empty(DDB_ENABLED)
+.if !empty(DDB_ENABLED) || !empty(DTR_ENABLED) || !empty(HWPMC_ENABLED)
CFLAGS += -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
.endif