mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
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>
This commit is contained in:
parent
2f13e8fb4d
commit
14afaa5381
1 changed files with 5 additions and 2 deletions
|
@ -7,6 +7,7 @@
|
||||||
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
|
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
|
||||||
;;; Copyright © 2021 Leo Le Bouter <lle-bout@zaclys.net>
|
;;; Copyright © 2021 Leo Le Bouter <lle-bout@zaclys.net>
|
||||||
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
|
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
|
||||||
|
;;; Copyright © 2021 LuHui <luhux76@gmail.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -65,7 +66,8 @@ (define-public bdb-4.8
|
||||||
;; for "--build", but not for "--host", so update config.sub.
|
;; for "--build", but not for "--host", so update config.sub.
|
||||||
,@(if (and (%current-target-system)
|
,@(if (and (%current-target-system)
|
||||||
(or (target-ppc64le? (%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
|
`((add-after 'unpack 'update-config.sub
|
||||||
(lambda* (#:key native-inputs #:allow-other-keys)
|
(lambda* (#:key native-inputs #:allow-other-keys)
|
||||||
(delete-file "dist/config.sub")
|
(delete-file "dist/config.sub")
|
||||||
|
@ -118,7 +120,8 @@ (define-public bdb-4.8
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(if (and (%current-target-system)
|
(if (and (%current-target-system)
|
||||||
(or (target-ppc64le? (%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
|
`(("config" ,config)) ; for config.sub
|
||||||
'()))
|
'()))
|
||||||
(synopsis "Berkeley database")
|
(synopsis "Berkeley database")
|
||||||
|
|
Loading…
Reference in a new issue