about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-06-24 14:59:17 -0400
committerUlrich Drepper <drepper@gmail.com>2011-06-24 14:59:17 -0400
commitd5495a116c6271c0ae8f6955b64b7b010b1b341a (patch)
tree1c7f962b0521b487971d88e9b315a1391518f7f4 /sysdeps/unix/sysv/linux/Makefile
parent0b1cbaaef5ccc21baf2c35d4698fb28e82eab385 (diff)
downloadglibc-d5495a116c6271c0ae8f6955b64b7b010b1b341a.tar.gz
glibc-d5495a116c6271c0ae8f6955b64b7b010b1b341a.tar.xz
glibc-d5495a116c6271c0ae8f6955b64b7b010b1b341a.zip
Work around limit in writev in 2.6.38+ kernels
Diffstat (limited to 'sysdeps/unix/sysv/linux/Makefile')
-rw-r--r--sysdeps/unix/sysv/linux/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
index 05834e3261..ebb3f5d852 100644
--- a/sysdeps/unix/sysv/linux/Makefile
+++ b/sysdeps/unix/sysv/linux/Makefile
@@ -22,6 +22,7 @@ sysdep_routines += sysctl clone llseek umount umount2 readahead \
 		   eventfd eventfd_read eventfd_write prlimit
 
 CFLAGS-gethostid.c = -fexceptions
+CFLAGS-tst-writev.c += -DARTIFICIAL_LIMIT=0x7ffff000
 
 sysdep_headers += sys/mount.h sys/acct.h sys/sysctl.h \
 		  sys/klog.h sys/kdaemon.h \