diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-07-04 00:05:57 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-07-04 00:08:33 +0200 |
commit | f436723ce7da2f5e752f5f4b6f0d568a7bea4403 (patch) | |
tree | 4d551a8f2bce97159a7624bc7eb807316c28f400 | |
parent | 331ec572d1792cee79c83371092348159d60a16c (diff) | |
download | guix-f436723ce7da2f5e752f5f4b6f0d568a7bea4403.tar.gz guix-f436723ce7da2f5e752f5f4b6f0d568a7bea4403.zip |
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.
-rw-r--r-- | gnu/packages/commencement.scm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 9e8bbf97be..c4aa8b2a63 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -2417,7 +2417,16 @@ exec " gcc "/bin/" program ;; 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 |