gnu: freeipmi: Fix cross-compiling.
* gnu/packages/freeipmi.scm (freeipmi)[arguments]: Assume support for /dev/random and /dev/urandom when cross compiling.
This commit is contained in:
parent
f24ddb1e90
commit
bf0389a380
1 changed files with 8 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2015, 2016, 2017, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2015, 2016, 2017, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2019–2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2019–2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
|
@ -38,7 +38,13 @@
|
||||||
"0w8af1i57szmxl9vfifwwyal7xh8aixz2l9487wvy6yckqk6m92a"))))
|
"0w8af1i57szmxl9vfifwwyal7xh8aixz2l9487wvy6yckqk6m92a"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:configure-flags '("--disable-static")))
|
`(#:configure-flags '("--disable-static"
|
||||||
|
,@(if (%current-target-system)
|
||||||
|
;; We cannot check for these devices
|
||||||
|
;; when cross compiling.
|
||||||
|
`("ac_cv_file__dev_random=yes"
|
||||||
|
"ac_cv_file__dev_urandom=yes")
|
||||||
|
'()))))
|
||||||
(inputs
|
(inputs
|
||||||
(list libgcrypt))
|
(list libgcrypt))
|
||||||
(home-page "https://www.gnu.org/software/freeipmi/")
|
(home-page "https://www.gnu.org/software/freeipmi/")
|
||||||
|
|
Reference in a new issue