summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefrag.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefrag.am b/Makefrag.am
index 5d22504..a80cd24 100644
--- a/Makefrag.am
+++ b/Makefrag.am
@@ -62,6 +62,9 @@ libkernel_a_SOURCES += \
ddb/nlist.h \
ddb/stab.h \
ddb/tr.h
+
+# We need frame pointers for trace to work properly.
+AM_CFLAGS += -fno-omit-frame-pointer
endif