From aba98be5406eaeaf70dbd6b9b30e16d254ede9d7 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 6 Jun 2020 17:23:32 +0200 Subject: gnu: di: Cross-compile. * gnu/packages/admin.scm (di)[arguments]: Use CC-FOR-TARGET. --- gnu/packages/admin.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 2e1c4d1ada..bb93f7efb1 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -2758,7 +2758,7 @@ a new command using the matched rule, and runs it.") (delete 'configure) ; no configure script (add-before 'build 'setup-environment (lambda* (#:key outputs #:allow-other-keys) - (setenv "CC" "gcc") + (setenv "CC" ,(cc-for-target)) (setenv "prefix" (assoc-ref outputs "out")) #t))) #:make-flags (list "--environment-overrides"))) -- cgit v1.2.3