me
/
guix
Archived
1
0
Fork 0

gnu: bison-boot0: Replace 'posix_spawn' on non-x86 platforms.

* gnu/packages/commencement.scm (bison-boot0)[arguments]: Pass #:configure-flags
on non-x86 platforms.
master
Ludovic Courtès 2021-07-05 12:50:08 +02:00
parent 8a48302318
commit a159586f8a
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 9 additions and 0 deletions

View File

@ -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