summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-06-03 01:42:43 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2020-06-03 02:21:22 +0200
commit3dec317f1d54855705fb08c156f758b194c52d5c (patch)
tree97320a43efb19cdaf2d1d757210769a088f7bd74 /gnu/packages
parent7dd57cc00e949dd414ed1c820d6452b2c9978184 (diff)
downloadguix-3dec317f1d54855705fb08c156f758b194c52d5c.tar.gz
gnu: mdadm: Actually cross-compile.
* gnu/packages/linux.scm (mdadm)[arguments]: Use CC-FOR-TARGET.
Diffstat (limited to 'gnu/packages')
-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 30420b013b..197e5ea85a 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -4112,7 +4112,7 @@ MPEG-2 and audio over Linux IEEE 1394.")
      `(("udev" ,eudev)))
     (arguments
      `(#:make-flags (let ((out (assoc-ref %outputs "out")))
-                      (list "CC=gcc"
+                      (list ,(string-append "CC=" (cc-for-target))
                             "INSTALL=install"
                             "CHECK_RUN_DIR=0"
                             ;; TODO: tell it where to find 'sendmail'