me
/
guix
Archived
1
0
Fork 0

gnu: earlyoom: Actually cross-compile.

* gnu/packages/linux.scm (earlyoom)[arguments]: Use CC-FOR-TARGET.
master
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
1 changed files with 1 additions and 1 deletions

View File

@ -3007,7 +3007,7 @@ from the module-init-tools project.")
(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")))