summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-10-25 09:15:23 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-10-25 09:15:23 +0000
commit378d9a7d01a8cca639eed69e79e1703ef3ca3c91 (patch)
treef62c525b72aae3de76be8400d078574fa562cc57 /configure
parentf206a5d9ecdf18a7749fd4ba41d8037961f80a77 (diff)
downloadskalibs-378d9a7d01a8cca639eed69e79e1703ef3ca3c91.tar.xz
getrandom sysdep must be clr, THANKS GLIBC
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure b/configure
index dd108c7..d49390f 100755
--- 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..."