diff options
author | Z572 <873216071@qq.com> | 2023-03-10 21:07:56 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@member.fsf.org> | 2023-03-17 18:55:05 +0800 |
commit | c41bc99650cb9e32c942bdb721e641df161f3ec8 (patch) | |
tree | 0ce099bbaa0fffd404a0e63d2a9ed3c86e5af7cd | |
parent | 84a70d7c15314f01149ddc0728195c7b9f6309c7 (diff) | |
download | guix-c41bc99650cb9e32c942bdb721e641df161f3ec8.tar guix-c41bc99650cb9e32c942bdb721e641df161f3ec8.tar.gz |
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>
-rw-r--r-- | gnu/packages/gnome.scm | 4 |
1 files 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/") |