gnu: earlyoom: Actually cross-compile.

* gnu/packages/linux.scm (earlyoom)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
Tobias Geerinckx-Rice 2020-06-03 01:28:17 +02:00
parent 1f0e1c49aa
commit 15c8b1723a
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -3007,7 +3007,7 @@ (define-public earlyoom
(install-file "contrib/notify_all_users.py" contrib)
#t))))
#:make-flags (let* ((prefix (assoc-ref %outputs "out")))
(list "CC=gcc"
(list ,(string-append "CC=" (cc-for-target))
(string-append "VERSION=v" ,version)
(string-append "PREFIX=" prefix)
(string-append "SYSCONFDIR=" prefix "/etc")))