summaryrefslogtreecommitdiff
path: root/libc/unistd/Makefile.in
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-27 15:02:45 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-27 15:02:45 +0000
commitcc7fbc32612c169253c073f2ad617a358862e502 (patch)
treeb04d6c19fa24390a9664bd8ab7f20776f488464d /libc/unistd/Makefile.in
parent1204bae1e531299734c0e56c560f16e8c5de5451 (diff)
Add Rich Felker's getsubopt, smaller then the glibc copied one
Diffstat (limited to 'libc/unistd/Makefile.in')
-rw-r--r--libc/unistd/Makefile.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/unistd/Makefile.in b/libc/unistd/Makefile.in
index 4a0bb0734..5bd612465 100644
--- a/libc/unistd/Makefile.in
+++ b/libc/unistd/Makefile.in
@@ -24,6 +24,12 @@ else
CSRC := $(filter-out getopt.c,$(CSRC))
endif
+ifeq ($(UCLIBC_HAS_GNU_GETSUBOPT),y)
+CSRC := $(filter-out getsubopt-susv3.c,$(CSRC))
+else
+CSRC := $(filter-out getsubopt.c,$(CSRC))
+endif
+
ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y)
CSRC := $(filter-out sleep.c,$(CSRC))
endif