commit 378d9a7d01a8cca639eed69e79e1703ef3ca3c91
parent f206a5d9ecdf18a7749fd4ba41d8037961f80a77
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date: Fri, 25 Oct 2019 09:15:23 +0000
getrandom sysdep must be clr, THANKS GLIBC
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
@@ -45,7 +45,7 @@ $package options:
Sysdeps autodetection override:
--with-sysdep-K=V assume sysdep K has the value V [autodetected]
-List of mandatory K for cross-compiling: devurandom (V=yes|no)
+List of mandatory K for cross-compiling: devurandom (V=yes|no), getrandom (V=yes|no)
EOF
exit 0
@@ -597,7 +597,6 @@ choose c cmsgcloexec 'MSG_CMSG_CLOEXEC'
choose cl dirfd 'dirfd()'
choose cl eventfd 'eventfd()'
choose cl flock 'flock()'
-choose cl getrandom 'getrandom()'
choose cl getpeereid 'getpeereid()'
choose cl sopeercred 'SO_PEERCRED'
choose cl getpeerucred 'getpeerucred()'
@@ -630,7 +629,7 @@ choose cl explicit_bzero 'explicit_bzero()'
# And here are the evil irreducible sysdeps.
choose clr devurandom '/dev/urandom'
-
+choose clr getrandom 'getrandom()'
rm -f "$tmps"
echo "Creating config.mak..."