mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: chrony: Fix cross-compilation.
* gnu/packages/ntp.scm (chrony)[arguments]<#:phases>: Add set-CC phase. Change-Id: I0bc7c271875c5ba68743583fb3932e238b3b37c0
This commit is contained in:
parent
77c4c02d41
commit
734e83d4fa
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
|||
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
|
||||
;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
|
||||
;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
||||
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -73,6 +74,9 @@ (define-public chrony
|
|||
"--with-user=chrony")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-CC
|
||||
(lambda _
|
||||
(setenv "CC" #$(cc-for-target))))
|
||||
(add-after 'unpack 'stay-inside-out
|
||||
;; Simply setting CHRONYVARDIR to something nonsensical at install
|
||||
;; time would result in nonsense file names in man pages.
|
||||
|
|
Loading…
Reference in a new issue