From 0463f7d7064ad1d9a5ee3c1d05191ff8693ade84 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 11 Jan 2021 22:18:10 +0100 Subject: gnu: mcelog: Cross-compile. * gnu/packages/linux.scm (mcelog)[arguments]: Use CC-FOR-TARGET. --- gnu/packages/linux.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 3f44253f1e..f1dcf72515 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -5933,7 +5933,7 @@ the default @code{nsswitch} and the experimental @code{umich_ldap}.") `(#:phases (modify-phases %standard-phases (delete 'configure)) ; no configure script #:make-flags (let ((out (assoc-ref %outputs "out"))) - (list "CC=gcc" + (list (string-append "CC=" ,(cc-for-target)) (string-append "prefix=" out) (string-append "DOCDIR=" out "/share/doc/" ,name "-" ,version) -- cgit v1.2.3