summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/signal/Makefile.in2
-rw-r--r--libc/stdlib/Makefile.in2
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/Makefile.commonarch2
3 files changed, 6 insertions, 0 deletions
diff --git a/libc/signal/Makefile.in b/libc/signal/Makefile.in
index a7e307871..ed8598b07 100644
--- a/libc/signal/Makefile.in
+++ b/libc/signal/Makefile.in
@@ -24,6 +24,8 @@ ifneq ($(strip $(ARCH_OBJS)),)
CSRC-y := $(filter-out $(notdir $(ARCH_OBJS:.o=.c)),$(CSRC-y))
endif
+CFLAGS-raise.c = -fasynchronous-unwind-tables
+
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 73e5462f6..9e96f03bb 100644
--- a/libc/stdlib/Makefile.in
+++ b/libc/stdlib/Makefile.in
@@ -27,6 +27,8 @@ CSRC-$(if $(findstring yy,$(UCLIBC_HAS_FLOATS)$(UCLIBC_SUSV3_LEGACY)),y) += \
gcvt.c
CSRC-$(UCLIBC_SUSV3_LEGACY) += mktemp.c
+CFLAGS-abort.c = -fasynchronous-unwind-tables
+
# multi source stdlib.c
CSRC-y += abs.c labs.c atoi.c atol.c strtol.c strtoul.c _stdlib_strto_l.c \
qsort.c qsort_r.c bsearch.c \
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/Makefile.commonarch b/libpthread/nptl/sysdeps/unix/sysv/linux/Makefile.commonarch
index e28cec247..b32bc9b5e 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/Makefile.commonarch
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/Makefile.commonarch
@@ -128,6 +128,8 @@ CFLAGS-timer_gettime.c = -I$(top_srcdir)librt -DIS_IN_librt
CFLAGS-timer_routines.c = -I$(top_srcdir)librt -DIS_IN_librt
CFLAGS-timer_settime.c = -I$(top_srcdir)librt -DIS_IN_librt
+CFLAGS-raise.c = -fasynchronous-unwind-tables
+
CFLAGS-linux = -DNOT_IN_libc -DIS_IN_libpthread $(SSP_ALL_CFLAGS)
CFLAGS-OMIT-libc_pthread_init.c = -DNOT_IN_libc -DIS_IN_libpthread