diff options
Diffstat (limited to 'libc')
-rw-r--r-- | libc/signal/Makefile.in | 2 | ||||
-rw-r--r-- | libc/stdlib/Makefile.in | 2 |
2 files changed, 4 insertions, 0 deletions
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 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 \ |