summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/Makefile.in
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-27 21:26:40 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-27 21:26:40 +0000
commitf37aeefc62fb12d7e56516d21c3385341f8ce223 (patch)
tree378cc08c6b8fbd5714e81e7fe814b9751bed4d4d /libc/sysdeps/linux/common/Makefile.in
parent0934f142036f12292711770d353f1c01ab718db7 (diff)
Do not build *64 and llseek, correct some failure when LFS is disabled
Diffstat (limited to 'libc/sysdeps/linux/common/Makefile.in')
-rw-r--r--libc/sysdeps/linux/common/Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/Makefile.in b/libc/sysdeps/linux/common/Makefile.in
index 5d3d1e293..8869c5aa8 100644
--- a/libc/sysdeps/linux/common/Makefile.in
+++ b/libc/sysdeps/linux/common/Makefile.in
@@ -14,6 +14,11 @@ ifeq ($(EXCLUDE_BRK),y)
CSRC:=$(filter-out sbrk.c,$(CSRC))
endif
+ifneq ($(UCLIBC_HAS_LFS),y)
+CSRC_LFS:=$(patsubst $(COMMON_DIR)/%.c,%.c,$(wildcard $(COMMON_DIR)/*64.c))
+CSRC:=$(filter-out llseek.c $(CSRC_LFS),$(CSRC))
+endif
+
# full list
#COMMON_NO_MULTI:=getcwd.c getrlimit.c getrlimit64.c setrlimit.c setrlimit64.c getpriority.c getpriority64.c setpriority.c getrusage.c wait4.c getitimer.c setitimer.c open.c open64.c uname.c __syscall_fcntl.c __syscall_fcntl64.c
COMMON_NO_MULTI:=getrlimit.c getrlimit64.c setrlimit.c setrlimit64.c getpriority.c setpriority.c getrusage.c getitimer.c setitimer.c uname.c __syscall_rt_sigaction.c