From 4db2caac1ccfade5fcde67c9800d7f3512220137 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sun, 15 Jan 2012 12:27:41 +0100 Subject: libc: build abort with unwind-info for backtrace If backtrace support is turned on, build raise() and abort() with unwind info (fixup 4c9b7f3c21ff21c199e54bfad2fdf3445fa4573d). Signed-off-by: Bernhard Reutner-Fischer --- libc/stdlib/Makefile.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc/stdlib') diff --git a/libc/stdlib/Makefile.in b/libc/stdlib/Makefile.in index 9e96f03bb..d9278072b 100644 --- a/libc/stdlib/Makefile.in +++ b/libc/stdlib/Makefile.in @@ -27,7 +27,9 @@ CSRC-$(if $(findstring yy,$(UCLIBC_HAS_FLOATS)$(UCLIBC_SUSV3_LEGACY)),y) += \ gcvt.c CSRC-$(UCLIBC_SUSV3_LEGACY) += mktemp.c +ifneq ($(UCLIBC_HAS_BACKTRACE),) CFLAGS-abort.c = -fasynchronous-unwind-tables +endif # multi source stdlib.c CSRC-y += abs.c labs.c atoi.c atol.c strtol.c strtoul.c _stdlib_strto_l.c \ -- cgit v1.2.3