diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-07-05 12:50:08 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-07-05 12:53:05 +0200 |
commit | a159586f8ae4db8a0fcf608b411f962817c3db60 (patch) | |
tree | 0d73488c2863c0b3fafe5b91b6cd42ed94637a15 /gnu | |
parent | 8a4830231871c578c80523e973ecd85f1f596ba6 (diff) | |
download | guix-a159586f8ae4db8a0fcf608b411f962817c3db60.tar.gz |
gnu: bison-boot0: Replace 'posix_spawn' on non-x86 platforms.
* gnu/packages/commencement.scm (bison-boot0)[arguments]: Pass #:configure-flags on non-x86 platforms.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/commencement.scm | 9 |
1 files changed, 9 insertions, 0 deletions
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 @@ 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 |