[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/05: gnu: di: Cross-compile.
From: |
guix-commits |
Subject: |
02/05: gnu: di: Cross-compile. |
Date: |
Sat, 6 Jun 2020 16:33:24 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit aba98be5406eaeaf70dbd6b9b30e16d254ede9d7
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sat Jun 6 17:23:32 2020 +0200
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(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 2e1c4d1..bb93f7e 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")))