summaryrefslogtreecommitdiff
path: root/libc/signal/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'libc/signal/Makefile.in')
-rw-r--r--libc/signal/Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/signal/Makefile.in b/libc/signal/Makefile.in
index 9e234b4ce..a29f69723 100644
--- a/libc/signal/Makefile.in
+++ b/libc/signal/Makefile.in
@@ -16,6 +16,10 @@ CSRC-$(UCLIBC_HAS_OBSOLETE_BSD_SIGNAL) += \
CSRC-$(UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL) += sysv_signal.c
CSRC-$(UCLIBC_SUSV4_LEGACY) += sigintr.c
+ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y)
+CSRC:=$(filter-out raise.c sigaction.c,$(CSRC))
+endif
+
ifneq ($(strip $(ARCH_OBJS)),)
CSRC-y := $(filter-out $(notdir $(ARCH_OBJS:.o=.c)),$(CSRC-y))
endif