me
/
guix
Archived
1
0
Fork 0

gnu: cpulimit: Cross compile.

* gnu/packages/admin.scm (cpulimit)[arguments]: Use cc-for-target in
custom 'build and 'check phases.
master
Efraim Flashner 2020-11-16 11:04:35 +02:00
parent 12110f949d
commit bc63198830
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 2 additions and 2 deletions

View File

@ -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"))