aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sh/Makefile
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-11-01 00:22:53 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-11-01 00:22:53 +0000
commit903252aadbc70177af4ab891a8854e9e252e293d (patch)
treeae188b05a4060dab235585f37e8b5dfce16e7d9f /sysdeps/sh/Makefile
parent62c4a69dc2aea24776cbf0e951d41709a7408cc6 (diff)
downloadglibc-903252aadbc70177af4ab891a8854e9e252e293d.zip
glibc-903252aadbc70177af4ab891a8854e9e252e293d.tar.gz
glibc-903252aadbc70177af4ab891a8854e9e252e293d.tar.bz2
Build SH backtrace with -funwind-tables.
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 cf18ded..bb7c553 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