[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/06: gnu: cpulimit: Cross compile.
From: |
guix-commits |
Subject: |
03/06: gnu: cpulimit: Cross compile. |
Date: |
Mon, 16 Nov 2020 04:16:57 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit bc63198830e7054d3cf62a978b0d133896600b84
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Nov 16 11:04:35 2020 +0200
gnu: cpulimit: Cross compile.
* gnu/packages/admin.scm (cpulimit)[arguments]: Use cc-for-target in
custom 'build and 'check phases.
---
gnu/packages/admin.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 8db547b..df98bd2 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -2384,10 +2384,10 @@ lookup to YAML Mode. You could enable the mode with
@code{(add-hook
(delete 'configure)
(replace 'build
(lambda _
- (invoke "make" "CC=gcc" "-Csrc")))
+ (invoke "make" (string-append "CC=" ,(cc-for-target))
"-Csrc")))
(replace 'check
(lambda _
- (invoke "make" "CC=gcc" "-Ctests")))
+ (invoke "make" (string-append "CC=" ,(cc-for-target))
"-Ctests")))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
- branch master updated (8f447b1 -> cbd104b), guix-commits, 2020/11/16
- 02/06: gnu: acpica: Cross compile., guix-commits, 2020/11/16
- 03/06: gnu: cpulimit: Cross compile.,
guix-commits <=
- 01/06: gnu: wpa-supplicant-minimal: Cross compile., guix-commits, 2020/11/16
- 05/06: gnu: cpulimit: Make check phase conditional., guix-commits, 2020/11/16
- 04/06: gnu: cpulimit: Use make-flags., guix-commits, 2020/11/16
- 06/06: gnu: nnn: Cross compile., guix-commits, 2020/11/16