gnu: rtl8821ce-linux-module: Prepare for cross-compilation.

* gnu/packages/linux.scm (rtl8821ce-linux-module)[arguments]:
Use CC-FOR-TARGET.
This commit is contained in:
Tobias Geerinckx-Rice 2021-10-01 21:19:17 +02:00
parent bdd190e3aa
commit 0d38f82120
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1394,7 +1394,7 @@ (define-public rtl8821ce-linux-module
(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"))