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 ;;; Copyright © 2021 Leo Le Bouter ;;; Copyright © 2021 Maxime Devos +;;; Copyright © 2021 LuHui ;;; ;;; 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")