summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-10-01 21:19:17 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2021-10-01 21:27:35 +0200
commit0d38f821202f0cf88248684d1e1c63d3f8f868fe (patch)
tree49ceb40622690a93587aed1d945cd19d12a2209a /gnu/packages
parentbdd190e3aafa9b54ed93fefbe7c0307a9103d3ad (diff)
downloadguix-0d38f821202f0cf88248684d1e1c63d3f8f868fe.tar.gz
gnu: rtl8821ce-linux-module: Prepare for cross-compilation.
* gnu/packages/linux.scm (rtl8821ce-linux-module)[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 5e16de9a23..31ba243d23 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1394,7 +1394,7 @@ RTL8812AU, RTL8821AU, and RTL8814AU chips.")
       (build-system linux-module-build-system)
       (arguments
        `(#:make-flags
-         (list "CC=gcc"
+         (list (string-append "CC=" ,(cc-for-target))
                (string-append "KSRC="
                               (assoc-ref %build-inputs "linux-module-builder")
                               "/lib/modules/build"))