aboutsummaryrefslogtreecommitdiff
path: root/ports/sysdeps/aarch64/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ports/sysdeps/aarch64/Makefile')
-rw-r--r--ports/sysdeps/aarch64/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/sysdeps/aarch64/Makefile b/ports/sysdeps/aarch64/Makefile
index ce2cedd52b..5af7a1655e 100644
--- a/ports/sysdeps/aarch64/Makefile
+++ b/ports/sysdeps/aarch64/Makefile
@@ -1,5 +1,9 @@
long-double-fcts = yes
+ifeq ($(subdir),debug)
+CFLAGS-backtrace.c += -funwind-tables
+endif
+
ifeq ($(subdir),elf)
sysdep-dl-routines += tlsdesc dl-tlsdesc
sysdep_routines += tlsdesc dl-tlsdesc