gnu: make-boot0: Build with "--disable-posix-spawn".

Fixes <https://bugs.gnu.org/49367>.

* gnu/packages/commencement.scm (gnu-make-boot0)[arguments]: Pass
"--disable-posix-spawn" on non-x86.
This commit is contained in:
Ludovic Courtès 2021-07-04 00:05:57 +02:00
parent 331ec572d1
commit f436723ce7
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -2417,7 +2417,16 @@ (define gnu-make-boot0
;; The generated config.status has some problems due to the
;; bootstrap environment. Disable dependency tracking to work
;; around it.
`(cons "--disable-dependency-tracking" ,flags))
`(cons "--disable-dependency-tracking"
;; 'glibc-bootstrap' on non-x86 platforms has a buggy
;; 'posix_spawn'. Thus, disable it. See
;; <https://bugs.gnu.org/49367>.
,(match (%current-system)
((or "i686-linux" "x86_64-linux")
flags)
(_
`(cons "--disable-posix-spawn" ,flags)))))
((#:phases phases)
`(modify-phases ,phases
(replace 'build