aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/libdaemon.scm
diff options
context:
space:
mode:
authorLu Hui <luhux76@gmail.com>2022-09-16 20:46:06 +0800
committerChristopher Baines <mail@cbaines.net>2022-10-06 15:08:03 +0100
commiteb5b104ca8a3d37cebb8ac6c93bdd0a0447db2b2 (patch)
tree51835f600b816f4e4b0813c132b9dbef49f71c72 /gnu/packages/libdaemon.scm
parent52b9f0ef1e1d80275ea39ba146f286f6a91c9585 (diff)
downloadguix-eb5b104ca8a3d37cebb8ac6c93bdd0a0447db2b2.tar
guix-eb5b104ca8a3d37cebb8ac6c93bdd0a0447db2b2.tar.gz
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>
Diffstat (limited to 'gnu/packages/libdaemon.scm')
-rw-r--r--gnu/packages/libdaemon.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/libdaemon.scm b/gnu/packages/libdaemon.scm
index 9dc851e823..12e4e2dc9c 100644
--- a/gnu/packages/libdaemon.scm
+++ b/gnu/packages/libdaemon.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014, 2020 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
+;;; Copyright © 2022 LuHui <luhux76@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -49,7 +50,8 @@
(file-name (string-append name "-" version ".tar.gz"))))
(build-system gnu-build-system)
(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
'()))
(arguments
@@ -66,7 +68,8 @@
;; Hurd's console client.
"--localstatedir=/var"))
'())
- ,@(if (and=> (%current-target-system) target-aarch64?)
+ ,@(if (or (and=> (%current-target-system) target-aarch64?)
+ (and=> (%current-target-system) target-riscv64?))
`(#:phases
(modify-phases %standard-phases
(add-before 'configure 'update-config.sub