diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-11-16 11:04:35 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-11-16 11:04:35 +0200 |
commit | bc63198830e7054d3cf62a978b0d133896600b84 (patch) | |
tree | 5dc5911dede09ea1395da7b69eaac8de40e48164 /gnu/packages/admin.scm | |
parent | 12110f949d3c80747ca277d455eb1a36680058c4 (diff) |
gnu: cpulimit: Cross compile.
* gnu/packages/admin.scm (cpulimit)[arguments]: Use cc-for-target in
custom 'build and 'check phases.
Diffstat (limited to 'gnu/packages/admin.scm')
-rw-r--r-- | gnu/packages/admin.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 8db547bb76..df98bd2fa8 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")) |