mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: gcc-11: Fix patch-hurd-libpthread phase.
It didn't work when it was introduced in
08acdd0765
.
* gnu/packages/gcc.scm (gcc-11)[arguments]: Remove the procedure arguments,
and use %build-inputs rather than inputs.
* gnu/packages/commencement.scm (gcc-boot0)[native-inputs]: Add hurd-patch, as
this package inherits from gcc-11.
This commit is contained in:
parent
dc8b3ebe5d
commit
6922069bcb
2 changed files with 6 additions and 4 deletions
|
@ -719,10 +719,9 @@ It also includes runtime support libraries for these languages.")
|
|||
(if (target-hurd?)
|
||||
`(modify-phases ,phases
|
||||
(add-after 'unpack 'patch-hurd-libpthread
|
||||
(lambda (#:key inputs)
|
||||
(lambda _
|
||||
(invoke "patch" "--force" "-p1" "-i"
|
||||
(assoc-ref inputs "hurd-patch")
|
||||
patch))))
|
||||
(assoc-ref %build-inputs "hurd-patch")))))
|
||||
phases))))
|
||||
(properties
|
||||
`((compiler-cpu-architectures
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue