aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/Makefile.amd64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/conf/Makefile.amd64')
-rw-r--r--sys/conf/Makefile.amd645
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/conf/Makefile.amd64 b/sys/conf/Makefile.amd64
index b83d935745b6..8887992534d2 100644
--- a/sys/conf/Makefile.amd64
+++ b/sys/conf/Makefile.amd64
@@ -31,6 +31,11 @@ S= ../../..
.endif
.include "$S/conf/kern.pre.mk"
+DDB_ENABLED!= grep DDB opt_ddb.h
+.if ${DDB_ENABLED} != ""
+CFLAGS+= -fno-omit-frame-pointer
+.endif
+
MKMODULESENV+= MACHINE=amd64
%BEFORE_DEPEND