about summary refs log tree commit diff
path: root/sysdeps/sh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sh/Makefile')
-rw-r--r--sysdeps/sh/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/sh/Makefile b/sysdeps/sh/Makefile
index cf18dedc45..bb7c553620 100644
--- a/sysdeps/sh/Makefile
+++ b/sysdeps/sh/Makefile
@@ -1,3 +1,7 @@
 ifeq ($(subdir),gmon)
 sysdep_routines += _mcount
 endif
+
+ifeq ($(subdir),debug)
+CFLAGS-backtrace.c += -funwind-tables
+endif