[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: gamin: Fix cross-compilation to riscv64.
From: |
guix-commits |
Subject: |
branch master updated: gnu: gamin: Fix cross-compilation to riscv64. |
Date: |
Fri, 17 Mar 2023 07:03:29 -0400 |
This is an automated email from the git hooks/post-receive script.
iyzsong pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new c41bc99650 gnu: gamin: Fix cross-compilation to riscv64.
c41bc99650 is described below
commit c41bc99650cb9e32c942bdb721e641df161f3ec8
Author: Z572 <873216071@qq.com>
AuthorDate: Fri Mar 10 21:07:56 2023 +0800
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>
---
gnu/packages/gnome.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 34758f2afc..5a857dd45f 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -12266,7 +12266,7 @@ repository and commit your work.")
`(#: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 @@ repository and commit your work.")
(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/")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: gamin: Fix cross-compilation to riscv64.,
guix-commits <=