mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-04 09:16:31 +01:00
gnu: gamin: Fix cross-compilation to riscv64.
* gnu/packages/gnome.scm (gamin) [arguments]<#:phases>: Apply 'replace-config.sub for riscv64 too. [native-inputs]: Add config for riscv64 too. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
parent
84a70d7c15
commit
c41bc99650
1 changed files with 2 additions and 2 deletions
|
@ -12266,7 +12266,7 @@ (define-public gamin
|
|||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
;; The 'config.sub' is too old to recognise aarch64.
|
||||
,@(if (and=> (%current-target-system) target-aarch64?)
|
||||
,@(if (or (target-aarch64?) (target-riscv64?))
|
||||
`((add-after 'unpack 'replace-config.sub
|
||||
(lambda _
|
||||
(delete-file "config.sub")
|
||||
|
@ -12308,7 +12308,7 @@ (define in-abstract-sockets-test? #f)
|
|||
(list glib))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)
|
||||
,@(if (and=> (%current-target-system) target-aarch64?)
|
||||
,@(if (or (target-aarch64?) (target-riscv64?))
|
||||
`(("config" ,config))
|
||||
'())))
|
||||
(home-page "https://people.gnome.org/~veillard/gamin/")
|
||||
|
|
Loading…
Reference in a new issue