aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sparc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/Makefile')
-rw-r--r--sysdeps/sparc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/sparc/Makefile b/sysdeps/sparc/Makefile
index 3f0c096..31aaeae 100644
--- a/sysdeps/sparc/Makefile
+++ b/sysdeps/sparc/Makefile
@@ -3,6 +3,10 @@ long-double-fcts = yes
pie-ccflag = -fPIE
+ifeq ($(subdir),debug)
+CFLAGS-backtrace.c += -funwind-tables
+endif
+
ifeq ($(subdir),gmon)
sysdep_routines += sparc-mcount
endif