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/signal/Makefile.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc/signal') diff --git a/libc/signal/Makefile.in b/libc/signal/Makefile.in index ed8598b07..bb5ba8fbf 100644 --- a/libc/signal/Makefile.in +++ b/libc/signal/Makefile.in @@ -24,7 +24,9 @@ ifneq ($(strip $(ARCH_OBJS)),) CSRC-y := $(filter-out $(notdir $(ARCH_OBJS:.o=.c)),$(CSRC-y)) endif +ifneq ($(UCLIBC_HAS_BACKTRACE),) CFLAGS-raise.c = -fasynchronous-unwind-tables +endif SIGNAL_DIR := $(top_srcdir)libc/signal SIGNAL_OUT := $(top_builddir)libc/signal -- cgit v1.2.3