about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/Makefile
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2009-05-22 08:25:34 -0700
committerUlrich Drepper <drepper@redhat.com>2009-05-22 08:25:34 -0700
commit1e1dc4e82dd4f31b87440388614c3e4bccdd5f3c (patch)
tree2222fa67e02e1b84f967a05a297794e83b21821e /sysdeps/unix/sysv/linux/Makefile
parentbe6b2e5cf302f984d8f405c0d40e7a3979c47bc3 (diff)
downloadglibc-1e1dc4e82dd4f31b87440388614c3e4bccdd5f3c.tar.gz
glibc-1e1dc4e82dd4f31b87440388614c3e4bccdd5f3c.tar.xz
glibc-1e1dc4e82dd4f31b87440388614c3e4bccdd5f3c.zip
Implement accept4 for more archs using socketcall.
So far accept4 was only supported on archs using socketcall for x86.
This patch adds support for the remaining archs.
Diffstat (limited to 'sysdeps/unix/sysv/linux/Makefile')
-rw-r--r--sysdeps/unix/sysv/linux/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
index 170c042dd1..cee5d29255 100644
--- a/sysdeps/unix/sysv/linux/Makefile
+++ b/sysdeps/unix/sysv/linux/Makefile
@@ -11,6 +11,10 @@ ifeq ($(subdir),malloc)
 CFLAGS-malloc.c += -DMORECORE_CLEARS=2
 endif
 
+ifeq ($(subdir),socket)
+sysdep_routines += internal_accept4
+endif
+
 ifeq ($(subdir),misc)
 sysdep_routines += sysctl clone llseek umount umount2 readahead \
 		   setfsuid setfsgid makedev epoll_pwait signalfd \