summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/unistd/Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/unistd/Makefile.in b/libc/unistd/Makefile.in
index 1bc052749..84b83b854 100644
--- a/libc/unistd/Makefile.in
+++ b/libc/unistd/Makefile.in
@@ -22,6 +22,10 @@ else
CSRC+=getopt-susv3.c
endif
+ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y)
+CSRC:=$(filter-out sleep.c,$(CSRC))
+endif
+
UNISTD_DIR:=$(top_srcdir)libc/unistd
UNISTD_OUT:=$(top_builddir)libc/unistd