about summary refs log tree commit diff
path: root/sysdeps/alpha/Makefile
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2014-04-16 21:32:27 -0700
committerRichard Henderson <rth@twiddle.net>2014-04-16 21:35:29 -0700
commitd77c0899db92dfc2bed535efb91cf9918478fd86 (patch)
treefac70cb26236efe1742204d06911a3a16aa2cd35 /sysdeps/alpha/Makefile
parenta3df56fcae737c71508c7f8d38f0728642b66d66 (diff)
downloadglibc-d77c0899db92dfc2bed535efb91cf9918478fd86.tar.gz
glibc-d77c0899db92dfc2bed535efb91cf9918478fd86.tar.xz
glibc-d77c0899db92dfc2bed535efb91cf9918478fd86.zip
alpha: Enable unwind tables for backtrace.c
Diffstat (limited to 'sysdeps/alpha/Makefile')
-rw-r--r--sysdeps/alpha/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/alpha/Makefile b/sysdeps/alpha/Makefile
index 1cf77fb239..bf133b9bc0 100644
--- a/sysdeps/alpha/Makefile
+++ b/sysdeps/alpha/Makefile
@@ -20,6 +20,11 @@ ifeq ($(subdir),db2)
 CPPFLAGS += -DHAVE_SPINLOCKS=1 -DHAVE_ASSEM_ALPHA=1
 endif
 
+ifeq ($(subdir),debug)
+# Consider making this GCC's default...
+CFLAGS-backtrace.c = -fasynchronous-unwind-tables
+endif
+
 ifeq ($(subdir),gmon)
 sysdep_routines += _mcount
 endif