From 28e09b5eb76919122f8baf57899154b3dd5fdaa0 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 28 Jun 2023 21:27:29 +0000 Subject: Add workaround for bad QoI posix_spawn() Signed-off-by: Laurent Bercot --- configure | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 95b92f0..1e0311f 100755 --- a/configure +++ b/configure @@ -47,8 +47,10 @@ $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 sysdeps for cross-compiling: + devurandom (yes|no): =yes if you have a working /dev/urandom + posixspawnearlyreturn (yes|no): =yes if you have an old glibc or otherwise bad posix_spawn EOF exit 0 } @@ -641,6 +643,7 @@ choose cl chroot 'chroot()' # Here are the evil irreducible run-time sysdeps. choose clr devurandom '/dev/urandom' +choose clr posixspawnearlyreturn 'posix_spawn() returning early' # Finally, produce config.mak and config.h -- cgit v1.3.1