diff options
author | Lu Hui <luhux76@gmail.com> | 2022-09-16 23:02:28 +0800 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2022-10-08 12:02:19 +0100 |
commit | 14afaa5381b1185bf9e3701ff09c5bab12dacfab (patch) | |
tree | e7e87481608d29cba15455ea3835a1a7f176b1ec /gnu | |
parent | 2f13e8fb4d41aceabc3f5508d7a374b925d76ae1 (diff) | |
download | guix-14afaa5381b1185bf9e3701ff09c5bab12dacfab.tar.gz guix-14afaa5381b1185bf9e3701ff09c5bab12dacfab.zip |
gnu: bdb: Fix targeting riscv64.
* gnu/packages/libdaemon.scm (bdb)[native-inputs,arguments]: Treat targeting
riscv64 like aarch64 is handled.
Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/dbm.scm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/dbm.scm b/gnu/packages/dbm.scm index 8b6804aa92..2d3cce9e15 100644 --- a/gnu/packages/dbm.scm +++ b/gnu/packages/dbm.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net> ;;; Copyright © 2021 Leo Le Bouter <lle-bout@zaclys.net> ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be> +;;; Copyright © 2021 LuHui <luhux76@gmail.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -65,7 +66,8 @@ ;; for "--build", but not for "--host", so update config.sub. ,@(if (and (%current-target-system) (or (target-ppc64le? (%current-target-system)) - (target-aarch64? (%current-target-system)))) + (target-aarch64? (%current-target-system)) + (target-riscv64? (%current-target-system)))) `((add-after 'unpack 'update-config.sub (lambda* (#:key native-inputs #:allow-other-keys) (delete-file "dist/config.sub") @@ -118,7 +120,8 @@ (native-inputs (if (and (%current-target-system) (or (target-ppc64le? (%current-target-system)) - (target-aarch64? (%current-target-system)))) + (target-aarch64? (%current-target-system)) + (target-riscv64? (%current-target-system)))) `(("config" ,config)) ; for config.sub '())) (synopsis "Berkeley database") |