* [bug#62094] [PATCH] gnu: gamin: fix riscv64 cross-compile.
@ 2023-03-10 13:07 Z572 via Guix-patches via
2023-03-17 11:04 ` bug#62094: " 宋文武 via Guix-patches via
0 siblings, 1 reply; 2+ messages in thread
From: Z572 via Guix-patches via @ 2023-03-10 13:07 UTC (permalink / raw)
To: 62094
* gnu/packages/gnome.scm: (gamin): fix riscv64 cross-compile.
[arguments]: <#phases>: when target-riscv64? add replace-config.sub.
[native-inputs]: when target-riscv64? add config.
---
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 3705909742..0883f5442f 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -12252,7 +12252,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")
@@ -12294,7 +12294,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/")
--
2.39.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#62094: [PATCH] gnu: gamin: fix riscv64 cross-compile.
2023-03-10 13:07 [bug#62094] [PATCH] gnu: gamin: fix riscv64 cross-compile Z572 via Guix-patches via
@ 2023-03-17 11:04 ` 宋文武 via Guix-patches via
0 siblings, 0 replies; 2+ messages in thread
From: 宋文武 via Guix-patches via @ 2023-03-17 11:04 UTC (permalink / raw)
To: Z572; +Cc: 62094-done
Z572 <873216071@qq.com> writes:
> * gnu/packages/gnome.scm: (gamin): fix riscv64 cross-compile.
> [arguments]: <#phases>: when target-riscv64? add replace-config.sub.
> [native-inputs]: when target-riscv64? add config.
Pushed with commit message changed:
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.
Thank you!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-17 11:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-10 13:07 [bug#62094] [PATCH] gnu: gamin: fix riscv64 cross-compile Z572 via Guix-patches via
2023-03-17 11:04 ` bug#62094: " 宋文武 via Guix-patches via
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).