From a159586f8ae4db8a0fcf608b411f962817c3db60 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 5 Jul 2021 12:50:08 +0200 Subject: gnu: bison-boot0: Replace 'posix_spawn' on non-x86 platforms. * gnu/packages/commencement.scm (bison-boot0)[arguments]: Pass #:configure-flags on non-x86 platforms. --- gnu/packages/commencement.scm | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index c4aa8b2a63..fb028390a2 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -2904,6 +2904,15 @@ (define bison-boot0 "RANLIB=ranlib -D")) "V=1") + ;; 'glibc-bootstrap' on non-x86 platforms has a buggy 'posix_spawn'. + ;; Thus, use the Gnulib replacement instead. See + ;; . + ,@(match (%current-system) + ((or "i686-linux" "x86_64-linux") + '()) + (_ + '(#:configure-flags '("gl_cv_func_posix_spawn_works=no")))) + ,@(package-arguments bison))))) (define flex-boot0 -- cgit v1.2.3