|
@@ -26,12 +26,16 @@ endif
|
|
|
|
|
|
ifneq ($(UCLIBC_LINUX_SPECIFIC),y)
|
|
|
# we need these internally: fstatfs.c statfs.c
|
|
|
-CSRC := $(filter-out capget.c capset.c inotify.c ioperm.c iopl.c madvise.c \
|
|
|
+CSRC := $(filter-out capget.c capset.c inotify.c ioperm.c iopl.c \
|
|
|
modify_ldt.c personality.c ppoll.c prctl.c readahead.c reboot.c \
|
|
|
remap_file_pages.c sched_getaffinity.c sched_setaffinity.c \
|
|
|
sendfile64.c sendfile.c setfsgid.c setfsuid.c setresuid.c \
|
|
|
splice.c vmsplice.c tee.c signalfd.c swapoff.c swapon.c \
|
|
|
sync_file_range.c sysctl.c sysinfo.c timerfd.c uselib.c vhangup.c,$(CSRC))
|
|
|
+ifneq ($(UCLIBC_HAS_THREADS_NATIVE),y)
|
|
|
+# we need madvise.c in NPTL
|
|
|
+CSRC := $(filter-pout madvise.c,$(CSRC))
|
|
|
+endif
|
|
|
endif
|
|
|
|
|
|
ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y)
|