gnu: acpica: Cross compile.

* gnu/packages/admin.scm (acpica)[arguments]: Use cc-for-target in
make-flags.
This commit is contained in:
Efraim Flashner 2020-11-16 11:03:50 +02:00
parent 8ec5adce41
commit 12110f949d
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -1862,8 +1862,8 @@ module slots, and the list of I/O ports (e.g. serial, parallel, USB).")
(native-inputs `(("flex" ,flex)
("bison" ,bison)))
(arguments
'(#:make-flags (list (string-append "PREFIX=" %output)
"CC=gcc"
`(#:make-flags (list (string-append "PREFIX=" %output)
(string-append "CC=" ,(cc-for-target))
"HOST=_LINUX"
"OPT_CFLAGS=-Wall -fno-strict-aliasing")
#:tests? #f ; no 'check' target