mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-07 19:39:34 +01:00
gnu: libdaemon: Fix targeting riscv64.
* gnu/packages/libdaemon.scm (libdaemon)[native-inputs,arguments]: Treat targeting riscv64 like aarch64 is handled. Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
parent
52b9f0ef1e
commit
eb5b104ca8
1 changed files with 5 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2013, 2014, 2020 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2013, 2014, 2020 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
|
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
|
||||||
|
;;; Copyright © 2022 LuHui <luhux76@gmail.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -49,7 +50,8 @@
|
||||||
(file-name (string-append name "-" version ".tar.gz"))))
|
(file-name (string-append name "-" version ".tar.gz"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(if (and=> (%current-target-system) target-aarch64?)
|
(if (or (and=> (%current-target-system) target-aarch64?)
|
||||||
|
(and=> (%current-target-system) target-riscv64?))
|
||||||
`(("config" ,config)) ; for config.sub
|
`(("config" ,config)) ; for config.sub
|
||||||
'()))
|
'()))
|
||||||
(arguments
|
(arguments
|
||||||
|
@ -66,7 +68,8 @@
|
||||||
;; Hurd's console client.
|
;; Hurd's console client.
|
||||||
"--localstatedir=/var"))
|
"--localstatedir=/var"))
|
||||||
'())
|
'())
|
||||||
,@(if (and=> (%current-target-system) target-aarch64?)
|
,@(if (or (and=> (%current-target-system) target-aarch64?)
|
||||||
|
(and=> (%current-target-system) target-riscv64?))
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-before 'configure 'update-config.sub
|
(add-before 'configure 'update-config.sub
|
||||||
|
|
Loading…
Add table
Reference in a new issue