diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-10-20 04:10:15 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-10-20 04:10:15 +0200 |
commit | 63b4baa44e8d22501c433c4093aa3310f91b6aa2 (patch) | |
tree | 2a8a738beec1d6587adb9a36fea810be2adb4e0c /sysdeps/unix/sysv/linux/Makefile | |
parent | 95ccb619f553c130dde7b51098d69132547f8a90 (diff) | |
download | glibc-63b4baa44e8d22501c433c4093aa3310f91b6aa2.tar.gz glibc-63b4baa44e8d22501c433c4093aa3310f91b6aa2.tar.xz glibc-63b4baa44e8d22501c433c4093aa3310f91b6aa2.zip |
sysconf: Fix missing definition of UIO_MAXIOV on Linux [BZ #22321]
After commit 37f802f86400684c8d13403958b2c598721d6360 (Remove __need_IOV_MAX and __need_FOPEN_MAX), UIO_MAXIOV is no longer supplied (indirectly) through <bits/stdio_lim.h>, so sysdeps/posix/sysconf.c no longer sees the definition.
Diffstat (limited to 'sysdeps/unix/sysv/linux/Makefile')
-rw-r--r-- | sysdeps/unix/sysv/linux/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile index 30bd167bae..0c8a009b5e 100644 --- a/sysdeps/unix/sysv/linux/Makefile +++ b/sysdeps/unix/sysv/linux/Makefile @@ -50,7 +50,7 @@ sysdep_headers += sys/mount.h sys/acct.h sys/sysctl.h \ bits/siginfo-arch.h bits/siginfo-consts-arch.h tests += tst-clone tst-clone2 tst-clone3 tst-fanotify tst-personality \ - tst-quota tst-sync_file_range test-errno-linux + tst-quota tst-sync_file_range test-errno-linux tst-sysconf-iov_max # Generate the list of SYS_* macros for the system calls (__NR_* # macros). The file syscall-names.list contains all possible system @@ -95,6 +95,9 @@ $(objpfx)tst-syscall-list.out: \ $(objpfx)tst-syscall-list-sys.list $(BASH) $^ $(AWK) > $@; $(evaluate-test) +# Separate object file for access to the constant from the UAPI header. +$(objpfx)tst-sysconf-iov_max: $(objpfx)tst-sysconf-iov_max-uapi.o + endif # $(subdir) == misc ifeq ($(subdir),time) |