summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-06-03 01:28:17 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2020-06-03 02:21:21 +0200
commit15c8b1723a4819e3bac024690cde3fac275be2dd (patch)
tree4d51a3b1bbf79bbfa659959a5019b5be4b507832
parent1f0e1c49aa83d5d180f4f5ee945085eeb2d62191 (diff)
gnu: earlyoom: Actually cross-compile.
* gnu/packages/linux.scm (earlyoom)[arguments]: Use CC-FOR-TARGET.
-rw-r--r--gnu/packages/linux.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 1466165aa3..1a1821b5a7 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -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")))