summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386/Makefile.arch
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/i386/Makefile.arch')
-rw-r--r--libc/sysdeps/linux/i386/Makefile.arch5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/i386/Makefile.arch b/libc/sysdeps/linux/i386/Makefile.arch
index ea2fce0d3..bff33a8f2 100644
--- a/libc/sysdeps/linux/i386/Makefile.arch
+++ b/libc/sysdeps/linux/i386/Makefile.arch
@@ -11,4 +11,9 @@ SSRC := \
__longjmp.S vfork.S clone.S setjmp.S bsd-setjmp.S bsd-_setjmp.S \
sync_file_range.S syscall.S mmap.S mmap64.S
+ifeq ($(UCLIBC_HAS_ADVANCED_REALTIME),y)
+SSRC += posix_fadvise64.S
+CSRC += posix_fadvise.c
+endif
+
include $(top_srcdir)libc/sysdeps/linux/Makefile.commonarch