~ruther/guix-local

a159586f8ae4db8a0fcf608b411f962817c3db60 — Ludovic Courtès 5 years ago 8a48302
gnu: bison-boot0: Replace 'posix_spawn' on non-x86 platforms.

* gnu/packages/commencement.scm (bison-boot0)[arguments]: Pass #:configure-flags
on non-x86 platforms.
1 files changed, 9 insertions(+), 0 deletions(-)

M gnu/packages/commencement.scm
M gnu/packages/commencement.scm => gnu/packages/commencement.scm +9 -0
@@ 2904,6 2904,15 @@ exec " gcc "/bin/" program
                           "RANLIB=ranlib -D"))
                      "V=1")

       ;; 'glibc-bootstrap' on non-x86 platforms has a buggy 'posix_spawn'.
       ;; Thus, use the Gnulib replacement instead.  See
       ;; <https://bugs.gnu.org/49367>.
       ,@(match (%current-system)
           ((or "i686-linux" "x86_64-linux")
            '())
           (_
            '(#:configure-flags '("gl_cv_func_posix_spawn_works=no"))))

       ,@(package-arguments bison)))))

(define flex-boot0