summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-11-16 11:03:50 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-11-16 11:03:50 +0200
commit12110f949d3c80747ca277d455eb1a36680058c4 (patch)
tree0072936aeb9e915ba616e9b3eaea8d84ab1a9fcf
parent8ec5adce4119c5b574c92a0558fc6686d5563252 (diff)
gnu: acpica: Cross compile.
* gnu/packages/admin.scm (acpica)[arguments]: Use cc-for-target in make-flags.
-rw-r--r--gnu/packages/admin.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 5f1f7ccca9..8db547bb76 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -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