[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/18: squash! binutils in base.scm
From: |
guix-commits |
Subject: |
17/18: squash! binutils in base.scm |
Date: |
Fri, 12 Mar 2021 03:22:42 -0500 (EST) |
efraim pushed a commit to branch wip-ppc
in repository guix.
commit 7ec24fc166d5eee3f5ed348b57d7af4363dfe038
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Mar 9 21:07:00 2021 +0200
squash! binutils in base.scm
* gnu/packages/commencement.scm (binutils-boot0)[arguments]: Move custom
phases after inherited arguments.
---
gnu/packages/commencement.scm | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 219e0f2..13f3307 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2650,6 +2650,14 @@ exec " gcc "/bin/" program
#:modules ((guix build gnu-build-system)
(guix build utils)
(ice-9 ftw)) ; for 'scandir'
+
+ ;; #:phases gets modified for powerpc-linux in binutils,
+ ;; so #:phases here needs to be after the inherited one.
+ ,@(substitute-keyword-arguments (package-arguments binutils)
+ ((#:configure-flags cf)
+ `(cons ,(string-append "--target=" (boot-triplet))
+ ,cf)))
+
#:phases (modify-phases %standard-phases
,@(if (string=? (%current-system) "powerpc-linux")
'((add-after 'unpack 'disable-rust-libiberty-test
@@ -2671,12 +2679,8 @@ exec " gcc "/bin/" program
(with-directory-excursion (string-append out "/bin")
(for-each (lambda (name)
(symlink name (remove-triplet-prefix
name)))
- (scandir "." has-triplet-prefix?)))))))
+ (scandir "." has-triplet-prefix?)))))))))
- ,@(substitute-keyword-arguments (package-arguments binutils)
- ((#:configure-flags cf)
- `(cons ,(string-append "--target=" (boot-triplet))
- ,cf)))))
(inputs (%boot0-inputs))))
(define libstdc++-boot0
- 08/18: build: qemu-command: Add support for powerpc., (continued)
- 08/18: build: qemu-command: Add support for powerpc., guix-commits, 2021/03/12
- 09/18: gnu: mercurial: Skip tests on powerpc-linux., guix-commits, 2021/03/12
- 11/18: gnu: glibc: Fix ldd path on powerpc*., guix-commits, 2021/03/12
- 13/18: gnu: findutils-boot0: Fix test suite on some systems., guix-commits, 2021/03/12
- 07/18: gnu: american-fuzzy-lop: Add support for powerpc-linux., guix-commits, 2021/03/12
- 14/18: gnu: binutils-boot0: Adjust test suite on powerpc-linux., guix-commits, 2021/03/12
- 15/18: gnu: binutils: Adjust test suite on powerpc-linux., guix-commits, 2021/03/12
- 16/18: squash! binutils in base.scm, guix-commits, 2021/03/12
- 10/18: gnu: nss: Skip tests on powerpc-linux., guix-commits, 2021/03/12
- 12/18: gnu: guile-3.0: Fix building on powerpc-linux., guix-commits, 2021/03/12
- 17/18: squash! binutils in base.scm,
guix-commits <=
- 18/18: gnu: libffi: Don't apply patch twice., guix-commits, 2021/03/12